import { Editor, EditorOptions, Extensions } from '@tiptap/core'; /** * Builds a real, headless (uncoupled from React) tiptap `Editor` for * component specs that need genuine ProseMirror state - selection, commands, * `isActive` - rather than a hand-rolled mock. Callers should call * `.destroy()` in `afterEach` to avoid leaking editor instances across tests. */ export declare const createTestEditor: (overrides?: { extensions?: Extensions; } & Partial) => Editor;