import { EditorHost } from '../core'; import { ICommand } from './i-command'; export declare abstract class BaseCommand implements ICommand { abstract name: string; timestamp: number; description?: string; protected host: EditorHost; constructor(host: EditorHost, description?: string); abstract execute(): void; abstract undo(): void; redo(): void; canMergeWith?(command: ICommand): boolean; mergeWith?(command: ICommand): ICommand; protected getCurrentTimestamp(): number; protected getElementNode(id: string): any; }