import type { ApiClientPlugin } from '@ahmttyydn/types/api-reference'; export type { ApiClientPlugin }; type PluginInstance = ReturnType; type HookFunctions = NonNullable; type OnBeforeRequestHook = NonNullable; type OnResponseReceivedHook = NonNullable; type ExecuteHook = { (event: 'onBeforeRequest', ...args: Parameters): Promise>>>; (event: 'onResponseReceived', ...args: Parameters): Promise>>>; }; type CreatePluginManagerParams = { plugins?: ApiClientPlugin[]; }; /** * Create the plugin manager store * * This store manages all plugins registered with the API client */ export declare const createPluginManager: ({ plugins }: CreatePluginManagerParams) => { /** * Get all components for a specific view */ getViewComponents: (view: keyof NonNullable["views"]>) => { component: unknown; title?: string | undefined; props?: Record | undefined; }[]; /** * Execute a hook for a specific event */ executeHook: ExecuteHook; }; export type PluginManager = ReturnType; //# sourceMappingURL=plugin-manager.d.ts.map