export type PluginDispose = () => Promise; export declare function createPluginDispose(args: { backgroundManager: { shutdown: () => void | Promise; }; skillMcpManager: { disconnectAll: () => Promise; }; disposeHooks: () => void; }): PluginDispose;