export interface CompiledModule { fileName: string; text: string; map?: string; mapName?: string; } export declare function findCompiledModule(fileName: string): CompiledModule; export interface CacheParams { source: string; options: any; transform: () => Promise; identifier: any; directory: string; } export declare function cache(params: CacheParams): Promise<{ cached: boolean; result: T; }>;