@chamn/engine
Version:
12 lines (11 loc) • 618 B
TypeScript
import { CPluginCtx } from '../../core/pluginManager';
export declare const actionMap: {
deleteNode: (ctx: CPluginCtx) => Promise<boolean | undefined>;
copyNode: (ctx: CPluginCtx) => Promise<boolean | undefined>;
moveToUp: (ctx: CPluginCtx) => Promise<boolean | undefined>;
moveToSiblingUp: (ctx: CPluginCtx) => Promise<boolean | undefined>;
moveToDown: (ctx: CPluginCtx) => Promise<boolean | undefined>;
moveToSiblingDown: (ctx: CPluginCtx) => Promise<boolean | undefined>;
redo: (ctx: CPluginCtx) => Promise<true | undefined>;
undo: (ctx: CPluginCtx) => Promise<true | undefined>;
};