/** THE one call identity: sorted-key deep canonical form over typed, coerced REAL * values (masking happens on record, not here — the licence must execute); array * values stay order-significant. Every duplicate check, licence match, question * dedupe and record lookup routes through it. */ import type { CanonicalCallData, Json, ToolFact } from './vocabulary.js'; export declare function isJson(value: unknown): value is Json; /** Canonical JSON: object keys deep-sorted, arrays order-significant. */ export declare function canonicalJson(value: Json): string; export declare class CanonicalCall { readonly tool: string; readonly args: Readonly>; readonly key: string; private constructor(); /** Rejects non-coercible values loudly, naming the arg. */ static of(tool: string, raw: Readonly>, decl: ToolFact): CanonicalCall | { readonly badArg: string; }; /** The masked record/display form. */ data(masker: (v: unknown) => Json): CanonicalCallData; equals(other: CanonicalCall): boolean; } //# sourceMappingURL=canonical-call.d.ts.map