import type { Sealed } from "./protocol.js"; export interface MachineKeyPair { /** base64url of the raw 32-byte X25519 public key: goes to the cloud at pairing. */ publicKey: string; /** base64url of the PKCS#8 DER private key: stays in `.env`. */ privateKey: string; } export declare class SealError extends Error { constructor(message: string); } export declare function machineKeyPair(): MachineKeyPair; /** The public half of a stored private key (what pairing sends). */ export declare function publicKeyOf(privateKey: string): string; export declare function sealForRecipient(plaintext: string, recipientPublicKey: string): Sealed; export declare function openSealed(sealed: Pick, privateKey: string): string;