import { type PluginMeta } from '@grafana/data'; import { type Settings as v0alpha1Settings } from './types'; export declare function getLegacySettings(pluginId: string, showErrorAlert?: boolean): Promise; export declare function getAppPluginSettings(pluginId: string, showErrorAlert?: boolean): Promise; /** * Get the settings for a plugin, returning a cached promise when available. * @param pluginId - The id of the plugin. * @param showErrorAlert - Whether to show a UI error alert if the request fails. * @returns The plugin's `PluginMeta`. */ export declare function getPluginSettings(pluginId: string, showErrorAlert?: boolean): Promise;