export interface EncryptedPayload {
    encrypted: true;
    version: 1;
    iv: string;
    data: string;
    tag: string;
}
export declare function encryptData(plaintext: string, key: Buffer): EncryptedPayload;
export declare function decryptData(payload: EncryptedPayload, key: Buffer): string;
export declare function isEncryptedPayload(obj: unknown): obj is EncryptedPayload;
export declare function getMachineKey(): Buffer;
//# sourceMappingURL=encryption.d.ts.map