@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
17 lines • 905 B
TypeScript
import { type Component, MouseRegion, type TuiMouseEvent, type TuiMouseEventResult } from "@earendil-works/pi-tui";
export declare function isQuestionMouseAction(event: TuiMouseEvent): boolean;
/** The container records this region's committed row, including wrapped descriptions above it. */
export declare function questionMouseRegion(child: Component, onClick: () => void): MouseRegion;
/** Wrap between tabs and retain the exact emitted cell spans, never search for a label. */
export declare class AskUserQuestionTabs implements Component {
private tabs;
private hits;
private width;
private readonly onClick;
constructor(onClick: (index: number) => void);
setTabs(tabs: string[]): void;
invalidate(): void;
render(width: number): string[];
handleMouse(event: TuiMouseEvent): TuiMouseEventResult | undefined;
}
//# sourceMappingURL=ask-user-question-mouse.d.ts.map