export type CanonicalJsonValue = null | boolean | number | string | undefined | readonly CanonicalJsonValue[] | {
    readonly [key: string]: CanonicalJsonValue;
};
/**
 * Recursively stringifies a value with sorted object keys for deterministic output.
 * Used for computing checksums that must match across builders and readers.
 *
 * Matches JSON.stringify semantics:
 * - Top-level undefined returns "null"
 * - Array elements that are undefined/function/symbol become "null"
 * - Object properties with undefined/function/symbol values are omitted
 *
 * Throws TypeError on circular references rather than stack-overflowing.
 */
export declare function canonicalStringify(value: unknown): string;
export declare function sortedReplacer(_key: string, value: CanonicalJsonValue): CanonicalJsonValue;
