/** * Canonicalize a value as JSON per RFC 8785 (JSON Canonicalization Scheme). * * Guarantees: * - Object keys sorted by UTF-16 code-unit order. * - No insignificant whitespace. * - Strings escaped per JSON / RFC 8785 (uses `JSON.stringify` which is * spec-compliant for the string escape forms JCS requires). * - Numbers serialized per ECMAScript Number-to-String (the same algorithm * JCS prescribes). * * Throws on: * - `undefined`, functions, symbols, `bigint` (callers must coerce bigints * to numbers themselves if they want them in the canonical form). * - `NaN`, `Infinity`, `-Infinity` (JSON doesn't represent these). */ export declare function canonicalize(value: unknown): string; //# sourceMappingURL=canonicalize.d.ts.map