import { BaseCommand } from './base-command'; import { IEditorState } from '../types'; import { EditorHost } from '../core'; import { ICommand } from './i-command'; export type CanvasPropertyPath = 'dpm' | 'width' | 'height'; export interface CanvasPropertySnapshot { dpm: number; width: number; height: number; wmm: number; hmm: number; } export declare class UpdateCanvasPropertyCommand extends BaseCommand { name: string; private propertyPath; private oldState; private newStatus; constructor(host: EditorHost, propertyPath: CanvasPropertyPath, oldState: CanvasPropertySnapshot, newStatus: Partial); execute(): void; undo(): void; canMergeWith(command: ICommand): boolean; mergeWith(command: ICommand): ICommand; }