import { ModuleResolver, ModuleResolution } from './base'; /** * In-memory module resolver for testing and temporary modules */ export declare class InMemoryModuleResolver extends ModuleResolver { private modules; private metadata; constructor(); /** * Add a module to the resolver */ addModule(path: string, code: string, metadata?: Record): this; /** * Add multiple modules at once */ addModules(modules: Record): this; /** * Remove a module */ removeModule(path: string): boolean; resolve(modulePath: string, fromPath?: string): Promise; exists(modulePath: string, fromPath?: string): Promise; list(prefix?: string): Promise; clearCache(): void; getMetadata(modulePath: string): Promise | null>; /** * Get the number of modules */ get size(): number; /** * Check if resolver has any modules */ get isEmpty(): boolean; /** * Export all modules (useful for serialization) */ exportModules(): Record; }>; /** * Import modules (useful for deserialization) */ importModules(modules: Record; }>): this; } //# sourceMappingURL=memory.d.ts.map