import { X25519KeyPair } from "./keypair"; export declare const MISSING_ENCRYPTION_ERROR_MESSAGE = "Missing encryption context. Please configure it with tusky.addEncrypter()"; export default class Encrypter { keypair: X25519KeyPair; publicKey: Uint8Array; constructor(config: { keypair?: X25519KeyPair; publicKey?: Uint8Array; }); encrypt(data: string | Uint8Array): Promise; decrypt(data: string): Promise; } export { Encrypter };