/** * ask_user_question — Claude Code / Grok AskUserQuestion parity. * * Presents structured multiple-choice (or freeform) questions to the user via * the CLI approval asker channel so the agent can disambiguate requirements * before implementing. In non-interactive runs, returns a clear error so the * model continues with best judgment rather than hanging. */ import type { Tool } from '../core/tools/tool-types.js'; export interface AskUserQuestionOption { label: string; description?: string; } export interface AskUserQuestionItem { question: string; options?: AskUserQuestionOption[]; multi_select?: boolean; } /** Parse numbered options from a prompt produced by formatQuestionPrompt. * Returns [] when the prompt is freeform-only. Exported for TUI option pickers. */ export declare function parseAskUserQuestionOptions(prompt: string): { label: string; description?: string; }[]; export declare function isAskUserQuestionMultiSelect(prompt: string): boolean; export declare const askUserQuestionTool: Tool; //# sourceMappingURL=ask-user-question.d.ts.map