/** Unpadded, URL-safe base64. */ export declare function toB64u(bytes: Uint8Array): string; export declare function fromB64u(text: string): Uint8Array; /** A random, URL-safe identifier. 16 bytes → 22 characters. */ export declare function randomId(bytes?: number): string; export declare function utf8(text: string): Uint8Array; /** JSON with sorted keys and undefined fields dropped, so the same value always signs the same way. */ export declare function canonicalJson(value: unknown): string; export declare function normalizeText(text: string): string; /** FNV-1a over whitespace-normalised text. Detects change, not tampering. */ export declare function fingerprint(text: string): string;