import { ModuleStartupConfigDescriptions } from '../fundamentals/config/types'; export interface PluginsConfig {} export type AvailablePlugins = keyof PluginsConfig; declare module '../fundamentals/config' { interface AppConfig { plugins: PluginsConfig; } interface AppPluginsConfig { use( plugin: Plugin, config?: DeepPartial< ModuleStartupConfigDescriptions > ): void; plugins: { /** * @deprecated use `AFFiNE.use` instead */ use( plugin: Plugin, config?: DeepPartial< ModuleStartupConfigDescriptions > ): void; }; } }