import type { CommandHandler } from '../types/plugin'; import type { EventBus } from './events'; /** * Command registry and execution engine. * Wraps document.execCommand and supports custom commands. */ export declare class CommandManager { private commands; private editorArea; private eventBus; constructor(editorArea: HTMLElement, eventBus: EventBus); register(name: string, handler: CommandHandler): void; exec(command: string, value?: string, editorInstance?: any): void; } //# sourceMappingURL=commands.d.ts.map