import type { EditorCommand, EditorSessionState } from "./commands.js"; /** Apply a mutating editor command; returns null when the command type has no handler. @internal */ export declare function applyMutating(state: EditorSessionState, command: EditorCommand): EditorSessionState | null; /** True when the command changes document structure (not select/undo/redo). @internal */ export declare function isStructural(command: EditorCommand): boolean;