import type { ExtensionFactory } from "./types.ts";
export interface ExtensionCacheToken {
    cwd: string;
    generation: number;
}
export declare function clearExtensionCache(): void;
export declare function useExtensionCacheCwd(cwd: string): ExtensionCacheToken;
export declare function loadExtensionModule(extensionPath: string, cacheToken?: ExtensionCacheToken): Promise<ExtensionFactory | undefined>;
//# sourceMappingURL=loader-virtual-modules.d.ts.map