/**
 * Interactive marketplace plugin selector.
 *
 * Shows available plugins from all configured marketplaces in a SelectList.
 * Selecting a plugin triggers installation. Esc cancels.
 */
import { Container, SelectList } from "@pk-nerdsaver-ai/pi-tui";
export interface PluginSelectorCallbacks {
    onSelect: (pluginName: string, marketplace: string, scope?: "user" | "project") => void;
    onCancel: () => void;
}
export interface PluginItem {
    plugin: {
        name: string;
        version?: string;
        description?: string;
    };
    marketplace: string;
    /** Scope of this entry. When set, appended to the label and forwarded to onSelect. */
    scope?: "user" | "project";
}
export declare class PluginSelectorComponent extends Container {
    #private;
    constructor(marketplaceCount: number, plugins: PluginItem[], installedIds: Set<string>, callbacks: PluginSelectorCallbacks);
    getSelectList(): SelectList;
}
