import { Get } from 'type-fest'; import { DefaultEditor } from '../../../types'; import { EDITOR_EVENT_KEY_DRAG_MOVE } from '../editor-plugin-dnd-store'; /** * 使用拖拽移动回调选项 */ export type UseDragMoveCbOptions = Get; /** * 使用拖拽移动回调 */ export interface UseDragMoveCb { /** * 使用拖拽移动回调 * @param options 选项 */ (options: UseDragMoveCbOptions): void; } /** * 使用拖拽移动 * @param cb 回调 * @param endCb 拖拽结束回调 */ export declare function useDragMove(cb: UseDragMoveCb, endCb?: () => void): void; //# sourceMappingURL=use-drag-move.d.ts.map