import type { JSONSchema7Type as SchemaValue, JSONSchema7Definition } from "json-schema"; export interface ComparatorOptions { deduplicationCache?: WeakMap; sortedKeysCache?: WeakMap, string[]>; } export declare function createComparator({ deduplicationCache, sortedKeysCache, }?: ComparatorOptions): { compareSchemaValues: (a: SchemaValue, b: SchemaValue) => number; compareSchemaDefinitions: (a: JSONSchema7Definition, b: JSONSchema7Definition) => number; };