import { ServerLoaderConfiguration } from "../types.js"; /** * Overrides node's module loading to load mapped files from the registered source location. */ interface ResolveFunction { /** * @param specifier * @param context * @param defaultResolve * @returns {Promise<{ url: string }>} */ (specifier: string, context: { conditions: string[]; parentURL: string | undefined; }, defaultResolve: ResolveFunction): Promise<{ url: string; }>; } export declare function initialize(data: ServerLoaderConfiguration & { base: string; }): Promise; export declare function getServerDebugStats(): { debug: boolean; useSources: boolean; mappings: { routes: { [name: string]: { folderPath: string; mainPath: string; }; }; }; aliases: Map; }; export declare function resolve(specifier: string, context: { conditions: string[]; parentURL: string | undefined; }, defaultResolve: ResolveFunction): Promise<{ url: string; }>; export {};