export declare const V2_ALGORITHM = "A256CBC-HS512";
export declare const V2_KEY_LENGTH = 64;
export declare const V2_IV_LENGTH = 16;
export declare const V2_TAG_LENGTH = 32;
type AuthenticatedCiphertext = {
    iv: Buffer;
    authTag: Buffer;
    cipherText: Buffer;
};
export declare function encryptA256CbcHs512(plaintext: Buffer, key: Buffer, iv: Buffer, aad: Buffer): AuthenticatedCiphertext;
export declare function decryptA256CbcHs512(payload: AuthenticatedCiphertext, key: Buffer, aad: Buffer): Buffer;
export {};
