import type { LunaticVariablesStore } from '../use-lunatic/commons/variables/lunatic-variables-store'; import type { LunaticData } from '../use-lunatic/type'; /** * Allow tracking changed while interacting with Lunatic forms */ export declare function useTrackChanges(enabled: boolean, store: LunaticVariablesStore, getData: (names: string[]) => LunaticData): { getChangedData: (reset?: boolean) => Partial> & { COLLECTED: Record; }>; resetChangedData: () => void; };