/** * Record a 'set' operation in history with filtering, compaction, and trimming. * * Handles optional compaction of consecutive sets on the same path within the same group, * avoiding compaction of array indices and length properties. * * @param root - The root object * @param path - The path where the set occurred * @param oldValue - The previous value * @param newValue - The new value * @param existedBefore - Whether the property existed before * @param groupId - The group ID for this change */ export declare const recordSet: (root: object, path: string[], oldValue: any, newValue: any, existedBefore: boolean, groupId: string) => void; /** * Record a 'delete' operation in history with filtering and trimming. * * @param root - The root object * @param path - The path where the delete occurred * @param oldValue - The value that was deleted * @param groupId - The group ID for this change */ export declare const recordDelete: (root: object, path: string[], oldValue: any, groupId: string) => void; /** * Record delete operations for array elements removed by length shrinkage. * * Used when array.length is decreased, synthesizing delete records for removed indices. * Does not apply compaction or other optimizations - just records the deletes. * * @param root - The root object * @param basePath - The path to the array (not including indices) * @param removed - Array of {index, value} pairs that were removed * @param groupId - The group ID for these changes */ export declare const recordArrayShrinkDeletes: (root: object, basePath: string[], removed: { index: number; value: any; }[], groupId: string) => void; //# sourceMappingURL=history-recorder.d.ts.map