/** * Old/new value previews for the properties that triggered a Lit update. * * Lit hands `update` a Map of changed key -> *old* value; the new value is * read off the element. Opt-in (the Changed values layer) and capped, so a * component with many properties cannot turn each update into a large event. * Runs inside the inspected page: nothing here may throw into the app. */ import type { ChangedValue } from '../../../types/timeline.js'; /** * Deep equality for values that were assigned as different references: plain * objects, arrays and dates are compared by content; every other object (Map, * Set, class instances, DOM nodes, functions) is equal only by identity. * Bounded by `budget` visited values and a depth of six, so a large or cyclic * structure ends as "not equal" rather than as work. Accessor properties are * never invoked: a getter makes the pair unequal. */ export declare const budgetedDeepEqual: (a: unknown, b: unknown, budget?: number) => boolean; /** * One entry per changed key (first `maxKeys`, in Map order), or `undefined` * when `changed` is not a non-empty Map. Never throws. */ export declare const captureChangedValues: (host: object, changed: unknown, maxKeys?: number) => ChangedValue[] | undefined; //# sourceMappingURL=changed-values.d.ts.map