export declare class EncryptionManager { private encryptionKey; private logger; constructor(); /** * Get or create CLI-specific encryption key */ private getOrCreateEncryptionKey; /** * Encrypts a plain text string - EXACT PORT from frontend * @param text The plain text to encrypt * @returns The encrypted string, including IV and auth tag */ encrypt(text: string): string; /** * Decrypts an encrypted string - EXACT PORT from frontend * @param encryptedText The encrypted text, including IV and auth tag * @returns The original plain text string */ decrypt(encryptedText: string): string; /** * Validate encryption key format */ private validateKeyFormat; /** * Get encryption key info (for debugging) */ getKeyInfo(): { keyExists: boolean; keyValid: boolean; keyPath: string; }; /** * Rotate encryption key (for security) */ rotateKey(): void; } export declare const encryptionManager: EncryptionManager;