@earendil-works/pi-coding-agent
Version:
Coding agent CLI with read, bash, edit, write tools and session management
23 lines • 983 B
TypeScript
import type { ThinkingLevel } from "@earendil-works/pi-agent-core";
import { Container, type Focusable, SelectList } from "@earendil-works/pi-tui";
/**
* Component that renders a thinking level selector with borders
*/
export declare class ThinkingSelectorComponent extends Container implements Focusable {
private searchInput;
private selectList;
private selectListChildIndex;
private allItems;
private onSelect;
private onCancel;
private onSelectAsDefault?;
private _focused;
get focused(): boolean;
set focused(value: boolean);
constructor(currentLevel: ThinkingLevel, availableLevels: ThinkingLevel[], onSelect: (level: ThinkingLevel) => void, onCancel: () => void, onSelectAsDefault?: (level: ThinkingLevel) => void, defaultThinkingLevel?: ThinkingLevel);
private buildSelectList;
private applyFilter;
handleInput(keyData: string): void;
getSelectList(): SelectList;
}
//# sourceMappingURL=thinking-selector.d.ts.map