export type AnswerStatus = "answered" | "already" | "not-found" | "no-live-target" | "invalid"; export interface AnswerResult { readonly status: AnswerStatus; readonly decisionId: string; readonly answerId?: string; readonly envelopeId?: string; readonly targetInstance?: string; readonly reason?: string; } export interface PostAnswerDeps { readonly now: number; readonly envelopeId: string; } /** True if a reply was already recorded for this decision (idempotence). */ export declare function hasAlreadyAnswered(root: string, decisionId: string): boolean; export declare function postDecisionAnswer(root: string, input: { decisionId: string; answerId: string; note?: string; }, deps: PostAnswerDeps): AnswerResult; //# sourceMappingURL=answer.d.ts.map