import type { Component, Focusable } from '../../../tui/index.js';
import { Container } from '../../../tui/index.js';
export interface PortSkillRootItem {
    id: string;
    providerLabel: string;
    scope: 'project' | 'user';
    settingsPath: string;
    validSkillCount: number;
    brokenSkillCount: number;
    warningCount: number;
    active: boolean;
}
declare class PortSkillsList implements Component, Focusable {
    private readonly searchInput;
    private items;
    private filteredItems;
    private selectedIndex;
    private readonly maxVisible;
    private _focused;
    onCancel?: () => void;
    onExit?: () => void;
    onToggle?: () => void;
    onApply?: (items: PortSkillRootItem[]) => void;
    get focused(): boolean;
    set focused(value: boolean);
    constructor(items: PortSkillRootItem[]);
    invalidate(): void;
    render(width: number): string[];
    handleInput(data: string): void;
    private filterItems;
    private selectFirstItem;
}
export declare class PortSkillsSelectorComponent extends Container implements Focusable {
    private readonly list;
    private _focused;
    get focused(): boolean;
    set focused(value: boolean);
    constructor(items: PortSkillRootItem[], onClose: () => void, onExit: () => void, onApply: (items: PortSkillRootItem[]) => void, requestRender: () => void);
    getList(): PortSkillsList;
}
export {};
//# sourceMappingURL=port-skills-selector.d.ts.map