import { Editor } from '../../core/Editor.js';
import { TrackChangeType } from '@superdoc/document-api';
export type GroupedTrackedChange = {
    rawId: string;
    id: string;
    from: number;
    to: number;
    hasInsert: boolean;
    hasDelete: boolean;
    hasFormat: boolean;
    attrs: Record<string, unknown>;
};
type ChangeTypeInput = Pick<GroupedTrackedChange, 'hasInsert' | 'hasDelete' | 'hasFormat'>;
export declare function resolveTrackedChangeType(change: ChangeTypeInput): TrackChangeType;
export declare function groupTrackedChanges(editor: Editor): GroupedTrackedChange[];
export declare function resolveTrackedChange(editor: Editor, id: string): GroupedTrackedChange | null;
export declare function toCanonicalTrackedChangeId(editor: Editor, rawId: string): string | null;
export declare function buildTrackedChangeCanonicalIdMap(editor: Editor): Map<string, string>;
export {};
//# sourceMappingURL=tracked-change-resolver.d.ts.map