/** * Secure storage for API keys using native keychain * - macOS: Keychain * - Linux: Secret Service API (libsecret) * - Windows: Credential Vault */ export interface SecureStorage { getApiKey(providerId: string): Promise; setApiKey(providerId: string, apiKey: string): Promise; deleteApiKey(providerId: string): Promise; hasApiKey(providerId: string): Promise; /** Whether the OS keychain is usable (vs the plaintext-config fallback). * Optional — only SmartStorage (what createSecureStorage returns) implements it. */ isKeychainAvailable?(): Promise; } /** * Migrate existing plain-text API keys to keychain */ export declare function migrateApiKeysToKeychain(config: any): Promise; export declare function createSecureStorage(config: any): SecureStorage;