/** * Ids and text measures from Web Crypto and plain JavaScript, so the modules that use them run on * every runtime: Node.js, Deno, Bun, edge runtimes, and browsers. */ /** Random bytes as lowercase hex, two characters per byte. */ export declare function randomHex(bytes: number): string; export declare function generateRequestId(): string; /** The bytes UTF-8 takes for a string, as `Buffer.byteLength()` counts them, without encoding it. */ export declare function utf8Length(text: string): number;