import { type PlanContext } from "./plan-paths.js"; /** Marker filename, resolved under the plan's state dir. */ export declare const PENDING_INPUT_FILE = "pending_input.json"; /** Legacy relative path (under worktree) — retained for reference. */ export declare const PENDING_INPUT_REL_PATH = ".opencode/pending_input.json"; export type PendingQuestion = { id: string; question: string; context?: string; askedAt: string; from: string; attempt: number; }; export type PendingAnswer = { id: string; answer: string; }; export type PendingInputData = { updatedAt?: string; questions?: PendingQuestion[]; answers?: PendingAnswer[]; }; export declare function readPendingInput(ctx: PlanContext): Promise; export declare function writePendingInput(ctx: PlanContext, data: PendingInputData): Promise; /** Questions that do not yet have a matching answer entry. */ export declare function listUnansweredQuestions(data: PendingInputData): PendingQuestion[]; export declare function addPendingAnswer(ctx: PlanContext, questionId: string, answer: string): Promise; //# sourceMappingURL=pending-input.d.ts.map