import { EditorView, Decoration } from '@codemirror/view'; export interface IMark { from: number; to: number; kind: Kinds; } /** * Manage marks in multiple editor views (e.g. cells). */ export interface ISimpleMarkManager { putMarks(view: EditorView, positions: IMark[]): void; /** * Clear marks from all editor views. */ clearAllMarks(): void; clearEditorMarks(view: EditorView): void; } export type MarkDecorationSpec = Parameters[0] & { class: string; }; export declare function createMarkManager(specs: Record): ISimpleMarkManager;