/** * Copyright (c) 2019-present Houfeng * @author Houfeng */ import { StageModel } from "../Stage"; import { ICommand } from "./Command"; export interface ICommandManager { stage: StageModel; redo: () => void; undo: () => void; push: (command: ICommand) => void; clear: () => void; apply: (command: ICommand, action: string) => void; }