/** * Encrypts a secret using AES-256-GCM * * @param secret - The secret to encrypt * @param encryptionKey - The encryption key (will be hashed to 256 bits) * @returns Base64 encoded encrypted data containing IV, encrypted token, and auth tag * @throws Error if encryption fails or inputs are invalid */ export declare function encryptSecret(secret: string, encryptionKey: string): string; /** * Decrypts a secret using AES-256-GCM * * @param encryptedSecret - Base64 encoded encrypted data from encryptSecret * @param encryptionKey - The encryption key used for encryption * @returns The decrypted secret * @throws Error if decryption fails or inputs are invalid */ export declare function decryptSecret(encryptedSecret: string, encryptionKey: string): string; /** * Computes a deterministic SHA-256 hash of a JSON object. * * @param json - The JSON object to hash. * @returns The SHA-256 hash of the normalized JSON object as a hexadecimal string. */ export declare function computeObjectHash(json: Record): string;