/// import type { BinaryLike } from './types'; export declare function encrypt(key: Uint8Array, nonce: Uint8Array, data: any): Promise; export declare function decrypt(key: Uint8Array, encryptedString: string): Promise; export declare function getKey(secret: BinaryLike): Uint8Array | Buffer; export declare function generateNonce(): Uint8Array;