export declare function useAppPluginMetas(): { loading: boolean; error: Error | undefined; value: import("@grafana/data").AppPluginConfig[] | undefined; }; export declare function useAppPluginMeta(pluginId: string): { loading: boolean; error: Error | undefined; value: import("@grafana/data").AppPluginConfig | null | undefined; }; export declare function usePanelPluginMetas(): { loading: boolean; error: Error | undefined; value: import("@grafana/data").PanelPluginMeta[] | undefined; }; export declare function useListedPanelPluginMetas(): { loading: boolean; error: Error | undefined; value: import("@grafana/data").PanelPluginMeta[] | undefined; }; export declare function usePanelPluginMetasMap(): { loading: boolean; error: Error | undefined; value: import("./types").PanelPluginMetas | undefined; }; export declare function usePanelPluginMeta(pluginId: string): { loading: boolean; error: Error | undefined; value: import("@grafana/data").PanelPluginMeta | null | undefined; }; /** * Hook that checks if an app plugin is installed. The hook does not check if the app plugin is enabled. * @param pluginId - The ID of the app plugin. * @returns loading, error, value of the app plugin installed status. * The value is true if the app plugin is installed, false otherwise. */ export declare function useAppPluginInstalled(pluginId: string): { loading: boolean; error: Error | undefined; value: boolean | undefined; }; /** * Hook that gets the version of an app plugin. * @param pluginId - The ID of the app plugin. * @returns loading, error, value of the app plugin version. * The value is the version of the app plugin, or null if the plugin is not installed. */ export declare function useAppPluginVersion(pluginId: string): { loading: boolean; error: Error | undefined; value: string | null | undefined; }; /** * Hook that checks if a panel plugin is installed. * @param pluginId - The ID of the panel plugin. * @returns loading, error, value of the panel plugin installed status. * The value is true if the panel plugin is installed, false otherwise. */ export declare function usePanelPluginInstalled(pluginId: string): { loading: boolean; error: Error | undefined; value: boolean | undefined; }; /** * Hook that gets the version of a panel plugin. * @param pluginId - The ID of the panel plugin. * @returns loading, error, value of the panel plugin version. * The value is the version of the panel plugin, or null if the plugin is not installed. */ export declare function usePanelPluginVersion(pluginId: string): { loading: boolean; error: Error | undefined; value: string | null | undefined; }; /** * Hook that returns a list of panel plugin ids that are not hidden from list. * @returns loading, error, value of the list of panel plugin ids that are not hidden from list. */ export declare function useListedPanelPluginIds(): { loading: boolean; error: Error | undefined; value: string[] | undefined; }; export declare function useDatasourcePluginMetas(): { loading: boolean; error: Error | undefined; value: import("@grafana/data").DataSourcePluginMeta<{}>[] | undefined; }; export declare function useDatasourcePluginMeta(pluginId: string): { loading: boolean; error: Error | undefined; value: import("@grafana/data").DataSourcePluginMeta<{}> | null | undefined; };