import { type ComponentTypeWithExtensionMeta } from '@grafana/data'; export type UsePluginComponentsOptions = { extensionPointId: string; limitPerPlugin?: number; }; export type UsePluginComponentsResult = { components: Array>; isLoading: boolean; }; export type UsePluginComponents = (options: UsePluginComponentsOptions) => UsePluginComponentsResult; export declare function setPluginComponentsHook(hook: UsePluginComponents): void; export declare function usePluginComponents(options: UsePluginComponentsOptions): UsePluginComponentsResult;