import type { PluginMetadataWithPaths } from '../metadata/types.js'; import type { PluginStore } from './types.js'; /** * Gets a plugin metadata object by its key. * * @param pluginStore The plugin store to use * @param key The key of the plugin to get * @returns The plugin metadata object or undefined if the plugin is not found */ export declare function getPluginMetadataByKey(pluginStore: PluginStore, key: string): PluginMetadataWithPaths | undefined; /** * Gets a plugin metadata object by its key. * * @param pluginStore The plugin store to use * @param key The key of the plugin to get * @returns The plugin metadata object * @throws An error if the plugin is not found */ export declare function getPluginMetadataByKeyOrThrow(pluginStore: PluginStore, key: string): PluginMetadataWithPaths; export declare function getManagedPluginsForPlugin(pluginStore: PluginStore, pluginKey: string): PluginMetadataWithPaths[]; //# sourceMappingURL=utils.d.ts.map