/** * Lazy loading utilities for CLI commands * Ensures startup time stays <100ms by only loading command code when invoked */ export type CommandModule = { execute: (args: string[], options: Record) => Promise; }; export declare function loadCommand(command: string): Promise; export declare function clearCommandCache(): void; /** * Lazy load optional dependencies * Returns undefined if not available */ export declare function tryLoadOptional(moduleName: string): Promise; /** * Check if an optional dependency is available */ export declare function hasOptionalDep(moduleName: string): Promise;