type ModuleServerConfig = {
    projectRoot: string;
    vendorPaths: Record<string, string>;
    frameworkDirs?: {
        angular?: string;
        react?: string;
        svelte?: string;
        vue?: string;
    };
};
export declare const warmCompilers: (frameworks: {
    svelte?: boolean;
    vue?: boolean;
}) => Promise<void>;
export declare const createModuleServer: (config: ModuleServerConfig) => (pathname: string) => Promise<Response | undefined>;
export declare const invalidateModule: (filePath: string) => void;
export declare const warmCache: (pathname: string) => void;
declare let globalModuleServer: ((pathname: string) => Promise<Response | undefined> | Response | undefined) | null;
export declare const SRC_URL_PREFIX = "/@src/";
export declare const setGlobalModuleServer: (handler: typeof globalModuleServer) => void;
export {};
