import type { RecordingScope } from '../recordingScope'; import type { EmitRecordCallback, EmitStatsCallback } from '../record.types'; import type { Tracker } from './tracker.types'; export type MutationTracker = Tracker & { flush: () => void; }; /** * Buffers and aggregate mutations generated by a MutationObserver into MutationPayload */ export declare function trackMutation(target: Node, emitRecord: EmitRecordCallback, emitStats: EmitStatsCallback, scope: RecordingScope): MutationTracker;