import type { EditorState } from '../../tiptap/pm/state';
import { PluginKey } from '../../tiptap/pm/state';
import { DecorationSet } from '../../tiptap/pm/view';
import { type PreviewOverride, type TrackedAnnotationGroup } from './range-tracking.js';
export type SketchPluginState = {
    decorations: DecorationSet;
    trackedGroups: TrackedAnnotationGroup[];
    nextRangeId: number;
};
export declare const SKETCH_PLUGIN_KEY: PluginKey<SketchPluginState>;
export declare const WIDGET_DATA_HOOK = "sketch-widget";
export declare const WIDGET_KEY_ATTR = "data-rn-key";
export declare const buildDecorationSet: (state: EditorState, trackedGroups: TrackedAnnotationGroup[], previewOverride: PreviewOverride | null) => DecorationSet;
export declare const getPluginState: (state: EditorState) => SketchPluginState | undefined;
//# sourceMappingURL=editor-decorations.d.ts.map