///
import { KeyPair } from "../typings/key-types";
interface SecretBoxOptions {
disableKeyPairs: boolean;
}
export declare class SecretBox {
private readonly options?;
private initialized;
private key?;
constructor(options?: SecretBoxOptions | undefined);
withMasterKey(masterKey: string): this;
withoutMasterKey(): this;
private usesKey;
private getKey;
encrypt(arrayBuffer: WithImplicitCoercion, pair?: KeyPair): Promise;
decrypt(buffer: Buffer, pair?: KeyPair): Promise;
}
export {};