import { HookHub, IArgsBase, ICommandHandler, ICmdHooks as IHooks, NsGraph } from '@antv/xflow'; type ICommand = ICommandHandler; export declare namespace NsGraphPreview { /** Command: 用于注册named factory */ const command: import("@antv/xflow").IGraphCommand; /** hook name */ const hookKey = "graphPreview"; /** hook 参数类型 */ interface IArgs extends IArgsBase { } /** hook handler 返回类型 */ interface IResult { err: any; } /** hooks 类型 */ interface ICmdHooks extends IHooks { graphPreview: HookHub; } } export declare class GraphPreviewCommand implements ICommand { /** api */ contextProvider: ICommand['contextProvider']; init(): void; /** 执行Cmd */ execute: () => Promise; /** undo cmd */ undo: () => Promise; /** redo cmd */ redo: () => Promise; isUndoable(): boolean; getCurrentLocale: () => import("antd/es/locale-provider").Locale; showModal: (graphMeta: NsGraph.IGraphMeta) => void; onCancel: (container: DocumentFragment) => void; } export {};