export type LumenReviewResult = { status: 'success'; } | { status: 'failure'; message: string; } | { status: 'uncertain'; message: string; }; export type LumenReviewStatus = 'editing' | 'review' | 'pending' | LumenReviewResult['status']; export interface LumenReviewWorkflowOptions { /** Change after every edit or server revision. Never reuse an earlier revision for a new draft. */ revision: string; submit: (proposal: T) => Promise; /** Safe localized fallback when a thrown error leaves the commit outcome unknown. */ uncertainMessage: string; } /** Review immutable application-owned proposals. No requests, persistence or automatic retries. */ export declare const useLumenReviewWorkflow: ({ revision, submit, uncertainMessage }: LumenReviewWorkflowOptions) => { status: LumenReviewStatus; message: string; proposal: T | undefined; revision: string | undefined; review: (proposal: T) => boolean; edit: () => boolean; confirm: () => Promise; /** Call only after the application has checked the durable command outcome. */ reconcile: (result: Exclude) => boolean; }; //# sourceMappingURL=review-workflow.d.ts.map