export declare function extractNamedImports(code: string, importStatement: string): string[]; export declare function generateStubCode(modulePath: string, namedImports?: string[]): string; export interface DeferredImportErrorDescriptor { name: string; message: string; } export interface CreateStubModuleOptions { /** Reject a dynamic import when it executes instead of exporting fallback values. */ failOnImport?: boolean; /** Sanitized typed error to throw when a strict dynamic import executes. */ deferredError?: DeferredImportErrorDescriptor; } export declare function createStubModule(modulePath: string, code: string, importStatement: string, esmCacheDir: string, options?: CreateStubModuleOptions): Promise; //# sourceMappingURL=stub-module.d.ts.map