export declare const ENVELOPE_PREFIX = "encrypted:v1:"; export declare const KEM_CT_LEN = 768; export declare const NONCE_LEN = 12; export declare const GCM_TAG_LEN = 16; export interface Envelope { kemCt: Uint8Array; nonce: Uint8Array; tag: Uint8Array; ct: Uint8Array; } export declare function encodeEnvelope(kemCt: Uint8Array, nonce: Uint8Array, tag: Uint8Array, ct: Uint8Array): string; export declare function decodeEnvelope(value: string): Envelope; export declare function isEnvelope(value: unknown): value is string; export declare function base64urlEncode(bytes: Uint8Array): string; export declare function base64urlDecode(text: string): Uint8Array; //# sourceMappingURL=format.d.ts.map