/** * Feature Detection Utility * * Detects available optional dependencies and enterprise features * Provides fallback mechanisms for core CLI functionality */ export interface FeatureDetectionResult { available: string[]; missing: string[]; errors: Record; } export interface FeatureCapabilities { googleCloud: boolean; vertexAI: boolean; googleAuth: boolean; googleAPIs: boolean; betterSQLite3: boolean; sqlite3: boolean; sqlJS: boolean; hasAnySQL: boolean; hasGoogleServices: boolean; } /** * Detect all optional dependencies */ export declare function detectFeatures(): Promise; /** * Get feature capabilities */ export declare function getFeatureCapabilities(): Promise; /** * Check if enterprise features are available */ export declare function hasEnterpriseFeatures(): Promise; /** * Dynamic import with fallback */ export declare function safeImport(moduleName: string): Promise; /** * Conditional class instantiation */ export declare function conditionalImport(moduleName: string, factory: (module: any) => T): Promise; /** * Get recommended SQLite implementation */ export declare function getRecommendedSQLiteImpl(): Promise; /** * Clear feature detection cache (useful for testing) */ export declare function clearFeatureCache(): void; //# sourceMappingURL=feature-detection.d.ts.map