import { type DelegationCert, type ProofBundle, type SessionToken } from "./types.js"; /** Encode a DelegationCert as canonical wire JSON (SPEC §5.7). */ export declare function encodeDelegationCert(cert: DelegationCert): string; /** Encode a ProofBundle as canonical wire JSON (SPEC §5.8). */ export declare function encodeProofBundle(bundle: ProofBundle): string; /** Encode a SessionToken as canonical wire JSON (SPEC §16.3). */ export declare function encodeSessionToken(token: SessionToken): string; /** * Decode a DelegationCert from wire JSON. Strict: rejects unknown fields, * malformed base64, and wrong cryptographic byte lengths. */ export declare function decodeDelegationCert(input: string | Uint8Array): DelegationCert; /** * Decode a ProofBundle from wire JSON. Strict: rejects unknown fields, * malformed base64, wrong cryptographic byte lengths, and unpaired v1.1 * stream fields. */ export declare function decodeProofBundle(input: string | Uint8Array): ProofBundle; /** * Decode a SessionToken from wire JSON. Strict: rejects unknown fields, * malformed base64, and wrong byte lengths. */ export declare function decodeSessionToken(input: string | Uint8Array): SessionToken; //# sourceMappingURL=wire.d.ts.map