UNPKG

@chief-editor/editor

Version:

FlowEditor Editor

10 lines (9 loc) 551 B
import { Editor, EditorTemplate, IMoveBrickCommand, IMoveBrickCommandOption } from '@chief-editor/core'; export declare function moveBrick(data: IMoveBrickCommand, editor: Editor): [boolean, IMoveBrickCommand]; export declare function moveBrickItem(options: IMoveBrickCommandOption, template: EditorTemplate): IMoveBrickCommandOption | null; export declare function resetMoveBrick(data: IMoveBrickCommand, editor: Editor): boolean; declare const _default: { execute: typeof moveBrick; reset: typeof resetMoveBrick; }; export default _default;