UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

23 lines • 1.51 kB
/** * Line builders for the ask-user question overlay. Kept separate from the * component so the layout rules stay under the 250-LOC sibling limit; the * component owns focus, key decoding and the inline Inputs. */ import type { QuestionRequest } from "../../../core/extensions/types.ts"; import { type AskUserQuestionState } from "./ask-user-question-state.ts"; export declare function renderTitle(countdownLabel: string): string; export declare function renderTabLabels(state: AskUserQuestionState): string[]; export declare function renderTabBar(state: AskUserQuestionState): string; export declare function renderQuestionLine(question: QuestionRequest["questions"][number]): string; /** * `focused` places the hardware cursor at the end of the own-answer row while the option list has focus: a printable * key there opens the own answer, so an IME draws its composing text where the answer goes instead of the footer. */ export declare function renderQuestionList(state: AskUserQuestionState, focused: boolean): string[]; export declare function renderSubmitSummary(state: AskUserQuestionState): string[]; export declare function renderOwnAnswerLabel(): string; export declare function renderCommentLabel(): string; export declare function renderNotice(notice: string | undefined): string; export declare function renderSubmitLine(state: AskUserQuestionState): string; export declare function renderHintsLine(state: AskUserQuestionState): string; //# sourceMappingURL=ask-user-question-render.d.ts.map