import { CallbackOption, ChangeObject, DiffCallback, DiffJsonOptions } from '../types'; export declare function diffJson(oldStr: string, newStr: string, options: (DiffJsonOptions & CallbackOption) | DiffCallback): undefined; export declare function diffJson(oldStr: string, newStr: string, options: DiffJsonOptions): ChangeObject[]; export declare function canonicalize(obj: any, stack: Array | null, replacementStack: Array | null, replacer: (string: any, any: any) => any, key?: string): any;