/** * EHBP error hierarchy: * * EhbpError (base) * ├── KeyConfigMismatchError - 422 key-config mismatch (stale key after rotation) * ├── ProtocolError - Malformed framing or crypto setup failure * └── DecryptionError - AEAD authentication / decryption failure */ export declare class EhbpError extends Error { constructor(message: string, options?: { cause?: unknown; }); } /** * Server returned 422 with problem+json key-config mismatch. * The request was never processed — re-sending after re-keying is safe. */ export declare class KeyConfigMismatchError extends EhbpError { readonly title: string; constructor(title?: string); } export declare class ProtocolError extends EhbpError { constructor(message: string, options?: { cause?: unknown; }); } export declare class DecryptionError extends EhbpError { constructor(message: string, options?: { cause?: unknown; }); } //# sourceMappingURL=errors.d.ts.map