export declare const DEFAULT_XO_SALT = "cash.xo.default_salt_for_encryption_aabbccddeeff00112233445566778899"; export type EncrypterOpts = { algorithm: string; keyLength: number; salt: Uint8Array; ivLength: number; iterations: number; }; export declare class Encrypter { private key; opts: EncrypterOpts; constructor(key: CryptoKey, opts: EncrypterOpts); static fromBytes(key: Uint8Array, opts?: Partial): Promise; static fromPassphrase(passphrase: string, opts?: Partial): Promise; encrypt(payload: Uint8Array | string): Promise; decrypt(payload: Uint8Array | string): Promise; }