import type { IRegisterHookHubFn, IRegisterHookFn } from './interface'; import type { IModuleConfig } from '../xflow-main/interface'; export declare const noop: () => { dispose: () => void; }; export declare namespace NsXFlowHook { const CONFIG_TYPE = "XFlowHook"; } export declare class HookConfig implements IModuleConfig { /** CONFIG_TYPE */ readonly CONFIG_TYPE = "XFlowHook"; time: number; /** 外部注册hook的方法 */ private hookRegisterFunc?; /** 外部注册hookhub的方法 */ private hookhubRegisterFn?; /** 提供一个runtime注册hook的方式 */ setRegisterHook: (fn: IRegisterHookFn) => void; /** 这里在canvas上提供一个runtime注册hookhub的方式 */ setRegisterHookhub: (fn: IRegisterHookHubFn) => void; getConfig: () => Promise<{ CONFIG_TYPE: string; hookRegisterFn: IRegisterHookFn<{ graphOptions: import("@antv/xflow-hook").HookHub; reactNodeRender: import("@antv/xflow-hook").HookHub>>, Map>>>; reactEdgeLabelRender: import("@antv/xflow-hook").HookHub>>, Map>>>; afterGraphInit: import("@antv/xflow-hook").HookHub; beforeGraphDestroy: import("@antv/xflow-hook").HookHub; x6Events: import("@antv/xflow-hook").HookHub; }>; hookhubRegisterFn: IRegisterHookHubFn<{ graphOptions: import("@antv/xflow-hook").HookHub; reactNodeRender: import("@antv/xflow-hook").HookHub>>, Map>>>; reactEdgeLabelRender: import("@antv/xflow-hook").HookHub>>, Map>>>; afterGraphInit: import("@antv/xflow-hook").HookHub; beforeGraphDestroy: import("@antv/xflow-hook").HookHub; x6Events: import("@antv/xflow-hook").HookHub; }>; }>; dispose: () => void; }