//#region src/common/data/diff.d.ts
type DifferenceType = 'new' | 'upd' | 'del';
interface Difference {
  type: DifferenceType;
  path: (string | number)[];
  value?: any;
}
interface DiffOptions {
  cyclesFix: boolean;
}
/**
 * Describes the changes between to object with a list like:
 *
 * ```
 * [{
 *    type: 'upd',
 *    path: ['a'],
 *    value: 1
 * },
 * {
 *    type: 'del',
 *    path: ['b', 'c']
 * }
 * ...]
 * ```
 */
declare function diffObjects(obj: Record<string, any> | any[], newObj: Record<string, any> | any[], options?: Partial<DiffOptions>, _stack?: Record<string, any>[]): Difference[];
//#endregion
export { diffObjects as i, Difference as n, DifferenceType as r, DiffOptions as t };
//# sourceMappingURL=diff-CP3d9TYo.d.cts.map