/**
 * TUI selector for choosing which open workbooks the agent session can access.
 *
 * Options: All (default), None, or a multi-select subset of open workbook names.
 * Space toggles individual workbooks; Enter confirms the current selection.
 */
import { SCOPE_ALL, SCOPE_NONE, SCOPE_SELECTED } from '../../../app/workbook-scope.js';
import { Container } from '../../../tui/index.js';
export type WorkbookScopeSelection = {
    mode: typeof SCOPE_ALL;
} | {
    mode: typeof SCOPE_NONE;
} | {
    mode: typeof SCOPE_SELECTED;
    workbooks: string[];
};
/** Bordered multi-select list for picking workbook scope (All / None / specific workbooks). */
export declare class WorkbookScopeSelectorComponent extends Container {
    private readonly workbookNames;
    private readonly onSelectCallback;
    private readonly onCancelCallback;
    private selectedIndex;
    private draftSelected;
    private noneSelected;
    private listContainer;
    private hintText;
    constructor(workbookNames: string[], initialSelection: WorkbookScopeSelection, onSelectCallback: (selection: WorkbookScopeSelection) => void, onCancelCallback: () => void);
    /** Total options: All + None + individual workbooks */
    private getOptionCount;
    private getCurrentWorkbook;
    private updateList;
    handleInput(keyData: string): void;
}
//# sourceMappingURL=workbook-scope-selector.d.ts.map