export declare const useModule: (module: string) => void; export declare const setRoute: (route: any) => void; /** * 初始化运行时:监听 commands 变化并执行对应 action */ export declare const initRuntime: (options?: { sessionId?: string | undefined; utils?: any; moduleLoader?: ((moduleName: string) => Promise) | undefined; } | undefined) => () => void;