export declare function normalizePath(path: string): string; /** * Compare mime-types ignoring charset or other params (application/json;charset=UTF-8) * @param a * @param b */ export declare function isSameMime(a?: string, b?: string): boolean; /** * Removes the mime-types params e.g. charset (application/json;charset=UTF-8)) * Removes any prefixes, e.g. application/hal+json => application/json * Spec is type/subtype;param1=value or type/semantic+format;param1=value * @param mimeType mime type string or undefined */ export declare function normalizeMimeType(mimeType?: string): string | undefined; export declare function unescapeServerVariables(str: string): string; export declare function arrayMergeStrategy(target: T[], source: T[]): T[]; export declare function isEmptyObject(obj: GenericObject): boolean; export declare const cryptoLib: Crypto | undefined; export declare function randString(len?: number): string; /** * Returns base-64 encoded ASCII string from a stringified JSON object */ export declare function encodeState(params: T): string; export declare function sha256(str: string): Promise; export declare function base64UrlEncode(arrayBuff?: ArrayBuffer): string | undefined;