import { type AnsweredQuestionBatch } from "../chat-message.js"; import { type ChatQuestion } from "@openremotecode/protocol"; import type { OpenCodeClient } from "./client.js"; interface QuestionOption { readonly value: string; readonly label: string; readonly description?: string | undefined; } interface QuestionField { readonly key: string; readonly type: "string" | "multiselect"; readonly options: readonly QuestionOption[]; } export interface PendingQuestion { readonly id: string; readonly questions: ChatQuestion["questions"]; readonly fields: readonly QuestionField[]; } export declare function fetchPendingQuestion(client: OpenCodeClient, sessionId: string, signal: AbortSignal): Promise; export declare function replyToQuestion(client: OpenCodeClient, sessionId: string, pending: PendingQuestion, body: Record, signal: AbortSignal): Promise<{ result: { version: 1; accepted: true; }; recorded: AnsweredQuestionBatch; }>; export {}; //# sourceMappingURL=questions.d.ts.map