/** * Canonical JSON, the one encoder behind every hashed value in Arc. Keys sort * by UTF-16 code unit and scalars encode as `JSON.stringify` writes them. Only * plain data encodes: non-finite numbers, `bigint`, functions, symbols, * `undefined`, missing array items, non-plain objects and cycles throw. */ export declare function canonicalJson(value: unknown): string; /** * The UDL document layout: canonical JSON with a two-space indent. Every * stored `documentDigest` hashes these bytes. */ export declare function writeJson(value: unknown): string; /** SHA-256 over canonical JSON, encoded as lowercase hexadecimal. */ export declare function digest(value: unknown): string; export declare function sha256(text: string): string; //# sourceMappingURL=canonical.d.ts.map