import type { ExtensionContext } from "@earendil-works/pi-coding-agent"; export interface AskQuestionOption { label: string; description?: string; } export interface AskQuestionRequest { question: string; options: AskQuestionOption[]; } export interface AskQuestionResult { question: string; options: string[]; answer: string | null; wasCustom?: boolean; selectedIndex?: number; error?: string; } type AskQuestionContext = Pick; /** Run the validated interactive question flow shared by consumers. */ export declare function askQuestion(params: AskQuestionRequest, ctx: AskQuestionContext, signal?: AbortSignal): Promise; export {};