interface ParsedResource { resource: string; path: string; query: string; fragment: string; } type ParsedResourceWithoutFragment = Omit; export declare const makePathsRelative: { (context: string, identifier: string, associatedObjectForCache: object | undefined): string; /** * @param {Object=} associatedObjectForCache an object to which the cache will be attached * @returns {function(string, string): string} cached function */ bindCache: (associatedObjectForCache: object | undefined) => ((arg0: string, arg1: string) => string); /** * @param {string} context context used to create relative path * @param {Object=} associatedObjectForCache an object to which the cache will be attached * @returns {function(string): string} cached function */ bindContextCache: (context: string, associatedObjectForCache: object | undefined) => ((arg0: string) => string); }; export declare const contextify: { (context: string, identifier: string, associatedObjectForCache: object | undefined): string; /** * @param {Object=} associatedObjectForCache an object to which the cache will be attached * @returns {function(string, string): string} cached function */ bindCache: (associatedObjectForCache: object | undefined) => ((arg0: string, arg1: string) => string); /** * @param {string} context context used to create relative path * @param {Object=} associatedObjectForCache an object to which the cache will be attached * @returns {function(string): string} cached function */ bindContextCache: (context: string, associatedObjectForCache: object | undefined) => ((arg0: string) => string); }; export declare const absolutify: { (context: string, identifier: string, associatedObjectForCache: object | undefined): string; /** * @param {Object=} associatedObjectForCache an object to which the cache will be attached * @returns {function(string, string): string} cached function */ bindCache: (associatedObjectForCache: object | undefined) => ((arg0: string, arg1: string) => string); /** * @param {string} context context used to create relative path * @param {Object=} associatedObjectForCache an object to which the cache will be attached * @returns {function(string): string} cached function */ bindContextCache: (context: string, associatedObjectForCache: object | undefined) => ((arg0: string) => string); }; export declare const parseResource: { (str: string, associatedObjectForCache?: object): ParsedResource; bindCache: (associatedObjectForCache: object) => (str: string) => ParsedResource; }; export declare const parseResourceWithoutFragment: { (str: string, associatedObjectForCache?: object): ParsedResourceWithoutFragment; bindCache: (associatedObjectForCache: object) => (str: string) => ParsedResourceWithoutFragment; }; export {};