import type { TRequestCredentials } from '../types/TRequestCredentials.js';
import type { TRequestMode } from '../types/TRequestMode.js';
/**
 * Utility for preloading resources.
 *
 * @see https://html.spec.whatwg.org/multipage/links.html#link-type-preload
 */
export default class PreloadUtility {
    /**
     * Returns a key for a preload entry.
     *
     * @param options Options.
     * @param options.url URL.
     * @param options.destination Destination.
     * @param options.mode Mode.
     * @param options.credentialsMode Credentials mode.
     * @returns Key.
     */
    static getKey(options: {
        url: string;
        destination: string;
        mode: TRequestMode;
        credentialsMode: TRequestCredentials;
    }): string;
}
//# sourceMappingURL=PreloadUtility.d.ts.map