import type { AskQuestion } from "../../types"; /** * Detect an AskUserQuestion menu in rendered screen lines. Returns the question * set (single-question; the TUI shows one picker at a time) or null. * Pure — no I/O. */ export declare function detectQuestionFromScreen(lines: string[]): { questions: AskQuestion[]; } | null; /** * True when the rendered screen is the AskUserQuestion "Ready to submit your * answers?" confirmation (a question line + a "Submit answers" option under the * Ask footer). Pure — no I/O. Retained as a classifier (e.g. for analytics); * the submit screen now renders as a normal card. */ export declare function isSubmitConfirmationScreen(lines: string[]): boolean; /** * True when an AskUserQuestion menu is still painted on the rendered screen. * Cheaper and far more forgiving than detectQuestionFromScreen: it asks only * "is the picker up?", so a menu whose options wrap oddly still reads as * present. Used to reject an answer for a menu that already closed. Pure. */ export declare function isQuestionMenuOnScreen(lines: string[]): boolean; /** * Stable content key for de-duping a screen-scraped question against the JSONL * detection of the same question (they share no toolUseId). Keyed on the * question text + option labels. */ export declare function questionContentKey(questions: AskQuestion[]): string; //# sourceMappingURL=detectQuestionFromScreen.d.ts.map