import type { ApiClientPlugin, hooksSchema } from '@scalar/types/api-reference'; import type { z } from 'zod'; export type { ApiClientPlugin }; type HookFunctions = z.infer; 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: (event: E, ...args: HookFunctions[E] extends z.ZodFunction ? z.infer : any) => Promise; }; export type PluginManager = ReturnType; //# sourceMappingURL=plugin-manager.d.ts.map