@earendil-works/pi-coding-agent
Version:
Coding agent CLI with read, bash, edit, write tools and session management
25 lines • 861 B
TypeScript
import { Container } from "@earendil-works/pi-tui";
import { type TerminalTheme } from "../theme/theme.ts";
export interface FirstTimeSetupResult {
theme: TerminalTheme;
shareAnalytics: boolean;
}
export interface FirstTimeSetupOptions {
detectedTheme: TerminalTheme;
onThemePreview: (themeName: TerminalTheme) => void;
onSubmit: (result: FirstTimeSetupResult) => void;
onCancel: () => void;
}
/** First-time setup dialog: theme choice and analytics opt-in. */
export declare class FirstTimeSetupComponent extends Container {
private step;
private themeIndex;
private analyticsIndex;
private readonly options;
constructor(options: FirstTimeSetupOptions);
private update;
private addOptionList;
private moveSelection;
handleInput(keyData: string): void;
}
//# sourceMappingURL=first-time-setup.d.ts.map