import { PluginManager, type PluginManagerOptions } from '../../plugins/manager.js';
import type { PluginDefinition } from '../../plugins/types.js';
export interface PluginRegistryOptions {
    /** Optional: pass a pre-built manager. If omitted, a default is constructed. */
    manager?: PluginManager;
    /** Optional: manager options passed to constructor when manager is not provided. */
    managerOptions?: PluginManagerOptions;
}
export declare class PluginRegistry {
    private readonly manager;
    constructor(opts?: PluginRegistryOptions);
    getSpec(name: string, version?: string): Promise<PluginDefinition>;
    search(_query: string): Promise<unknown[]>;
    listVersions(name: string): Promise<string[]>;
}
//# sourceMappingURL=plugin-registry.d.ts.map