import { type PanelPluginMeta } from '@grafana/data'; import type { PanelPluginMetas } from './types'; export declare function getPanelPluginMetas(): Promise; export declare function getListedPanelPluginMetas(): Promise; export declare function getPanelPluginMetasMap(): Promise; /** * Get a map of panel plugins keyed by plugin id. * This is a synchronous function that should only be used as an escape hatch in cases where the caller is guaranteed to be called after the panel plugins have been initialized. * In other cases, getPanelPluginMetasMap() should be used instead to ensure the panel plugins have been initialized before accessing them. * @throws Error if the panel plugins have not been initialized yet * @returns a map of panel plugins keyed by plugin id */ export declare function getPanelPluginMetasMapSync(): PanelPluginMetas; export declare function getPanelPluginMeta(pluginId: string): Promise; /** * Check if a panel plugin is installed. * @param pluginId - The id of the panel plugin. * @returns True if the panel plugin is installed, false otherwise. */ export declare function isPanelPluginInstalled(pluginId: string): Promise; /** * Get the version of a panel plugin. * @param pluginId - The id of the panel plugin. * @returns The version of the panel plugin, or null if the plugin is not installed. */ export declare function getPanelPluginVersion(pluginId: string): Promise; /** * Get a list of panel plugin ids that are not hidden from list * @returns an array of panel plugin ids that are not hidden from list */ export declare function getListedPanelPluginIds(): Promise; export declare function setPanelPluginMetas(override: PanelPluginMetas): void; export declare function refetchPanelPluginMetas(): Promise;