/**
 * V2 Lazy Loading System for Third-Party Dependencies
 * Loads heavyweight dependencies only when actually needed
 * Optimized for stateless HTTP server architecture
 */
export interface LazyModule<T> {
    load(): Promise<T>;
    isLoaded(): boolean;
    unload(): void;
}
export declare class V2LazyLoader {
    private static loadedModules;
    private static loadingPromises;
    /**
     * Create a lazy-loaded module wrapper for V2 architecture
     */
    static createLazyModule<T>(name: string, loader: () => Promise<T>, cleanup?: () => void): LazyModule<T>;
    /**
     * Get memory usage of loaded modules
     */
    static getLoadedModulesInfo(): {
        loaded: string[];
        memoryUsage: NodeJS.MemoryUsage;
    };
    /**
     * Unload all modules to free memory
     */
    static unloadAll(): void;
}
/**
 * V2 Tool dependency mapping
 */
export declare const V2_TOOL_DEPENDENCIES: {
    readonly inject_debugging: readonly ["playwright"];
    readonly simulate_user_action: readonly ["playwright"];
    readonly take_screenshot: readonly ["playwright"];
    readonly monitor_realtime: readonly ["playwright"];
    readonly run_audit: readonly ["playwright"];
    readonly mock_network: readonly ["playwright"];
    readonly delegate_to_debug_agent: readonly ["task-tool"];
    readonly smart_debug: readonly ["task-tool"];
    readonly auto_audit: readonly ["task-tool"];
    readonly nextjs_debug_hydration: readonly ["playwright", "nextjs-engine"];
    readonly flutter_debug_canvas: readonly ["playwright", "flutter-engine"];
    readonly performance_baseline: readonly ["playwright"];
    readonly performance_profile: readonly ["playwright"];
    readonly analyze_bundles: readonly ["webpack-analyzer"];
};
/**
 * Get required dependencies for a tool
 */
export declare function getV2ToolDependencies(toolName: string): readonly string[];
/**
 * Check if a tool requires any third-party dependencies
 */
export declare function v2RequiresThirdPartyDeps(toolName: string): boolean;
//# sourceMappingURL=lazy-loader.d.ts.map