import { type PluginMeta } from '@grafana/data'; /** * Hook that checks if an app plugin is installed and enabled. * @param pluginId - The ID of the app plugin. * @returns loading, error, value of the app plugin installed and enabled status. * The value is true if the app plugin is installed and enabled, false otherwise. */ export declare function useAppPluginEnabled(pluginId: string): { loading: boolean; error: Error | undefined; value: boolean | undefined; }; /** * Hook that fetches the full plugin settings (PluginMeta) for a given plugin ID. * @param pluginId - The ID of the plugin. * @returns loading, error, value where value is the PluginMeta or undefined if not found. * A 404 (plugin not installed) resolves to value: undefined with no error. * Other failures (auth errors, server errors) are surfaced via the error field. */ export declare function usePluginSettings(pluginId: string): { loading: boolean; error: Error | undefined; value: PluginMeta<{}> | undefined; };