import { type QuestionDismissal } from '../orgrt/question-state.js'; import type { CommandContext, CommandResult } from '../types.js'; interface OrgQuestion extends QuestionDismissal { questionId: string; role: string; question: string; ts: number; answer: string | null; answeredAt: number | null; } /** Read questions.json. A MISSING file legitimately means "no questions" → []. * Any other failure (unreadable, malformed — e.g. a partial daemon write) THROWS: * answerAction rewrites this file from what this returns, so silently coercing a * failed read to [] would atomically replace every recorded question with one. */ export declare const readQuestions: (cwd: string, name: string) => OrgQuestion[]; /** `org questions [--all]` — list pending (or all) ask_human questions. */ export declare const questionsAction: (ctx: CommandContext, name: string) => Promise; /** `org answer ` — answer a pending ask_human question. * Delivers live via the hosting daemon's /api/answer-question when the org is running * (broker lookup); otherwise records the answer and queues it for the next run. */ export declare const answerAction: (ctx: CommandContext, name: string) => Promise; export {}; //# sourceMappingURL=org-observe-questions.d.ts.map