import { type SmartRtePlugin, type LegacySmartSelection } from "smartrte-core/legacy"; export interface DomCommandResult { html: string; selection: LegacySmartSelection; } /** * Executes one model command against the live editor boundary. * * The DOM is parsed once, the command runs entirely in core, and the resulting * document replaces the DOM once. History and change emission remain owned by * the React host until the complete editor runtime is migrated. */ export declare const executeDomCommand: (args: { root: HTMLElement; plugins: SmartRtePlugin[]; commandId: string; input?: Input; selection?: Selection | null; }) => DomCommandResult | null;