import { Registry } from './domain-schema'; export declare const DEFAULT_CIPHER_ALGO = "aes-256-cbc"; export declare const DEFAULT_IV_LENGTH = 16; export type BdkSet = { [keySetId: string]: Buffer; }; export declare class DomainEventCipher { private static self; readonly cipherAlgo: string; readonly cipherKeyLength: number; readonly cipherIvLength: number; private bdkSet; private ksn; private schemaPayload; private _bdk; private _encKey; private bdkThreshold; private trsmThreshold; constructor(bdkSet?: BdkSet, ksn?: Buffer, cipherAlgo?: string, ivLength?: number, disableSchemaRegistry?: Registry | boolean | null); static init(bdkSet?: BdkSet, ksn?: Buffer, cipherAlgo?: string, ivLength?: number, disableSchemaRegistry?: Registry | boolean | null): DomainEventCipher; static term(): void; static get instance(): DomainEventCipher; static get isEnabled(): boolean; get isEnabled(): boolean; encrypt(buffer: Buffer): Promise>; decrypt(buffer: Buffer): Promise>; private get encKey(); private getBdk; private getCipherKeyLength; } export declare const getBdkSet: (key: string, isOptional: boolean, value?: string) => BdkSet;