/** * Minimal RFC 8785 JSON Canonicalization Scheme (JCS) implementation. * * Sufficient for the reference CLI. For production, use a heavily tested * implementation (e.g. `canonicalize` on npm, which is the one the reference * MCP server should pin to). This implementation handles only the subset of * JSON that appears in Aithos documents: strings, numbers (integers within * Number.MAX_SAFE_INTEGER), booleans, null, arrays, objects. * * Strings are serialized with the minimal-escape rules of RFC 8785 ยง3.2.2. * Numbers are serialized per ES6 ToString, which matches JCS for safe * integers and common fractions but may diverge for pathological floats. The * Aithos protocol does not rely on floating-point in any signed field. */ export declare function canonicalize(value: unknown): string;