import { type Component } from '@earendil-works/pi-tui';
import type { TuiModelChoice } from '../tui-backend.js';
export type ScopedModelsSelectorCallbacks = {
    /** `null` = all models enabled for Ctrl+P. */
    onSave: (refs: string[] | null) => void;
    onCancel: () => void;
    requestRender: () => void;
};
/** Toggle models included in Ctrl+P cycling (pi `/scoped-models` subset). */
export declare class ScopedModelsSelector implements Component {
    private readonly callbacks;
    private readonly catalog;
    private enabledRefs;
    private readonly list;
    private readonly footer;
    constructor(catalog: TuiModelChoice[], initialRefs: string[] | null, callbacks: ScopedModelsSelectorCallbacks);
    private refreshItems;
    private saveAndClose;
    invalidate(): void;
    render(width: number): string[];
    handleInput(keyData: string): void;
}
