UNPKG

@chief-editor/editor

Version:

FlowEditor Editor

6 lines (5 loc) 493 B
import { Editor, ICreateBrickCommand, IRemoveBrickCommand } from '@chief-editor/core'; export declare function addBrick(data: ICreateBrickCommand, editor: Editor): [boolean, ICreateBrickCommand]; export declare function resetAddBrick(data: ICreateBrickCommand, editor: Editor): boolean; export declare function removeBrick(data: IRemoveBrickCommand, editor: Editor): [boolean, IRemoveBrickCommand]; export declare function resetRemoveBrick(data: IRemoveBrickCommand, editor: Editor): boolean;