/** * pop task review — approve (completeTask) or reject (rejectTask) a * SUBMITTED task. * * Pre-flight (skippable with --no-preflight) verifies the task is actually * SUBMITTED before anything else, and the confirmation summary spells out * the payout consequence: approving releases the payout (and any bounty) to * the claimer; rejecting pays nothing and returns the task to CLAIMED so the * claimer can resubmit. */ import type { Argv, ArgumentsCamelCase } from 'yargs'; interface ReviewArgs { org: string; task: string; action: string; reason?: string; chain?: number; rpc?: string; 'private-key'?: string; 'dry-run'?: boolean; yes?: boolean; preflight?: boolean; 'idempotency-key'?: string; 'no-idempotency'?: boolean; } export declare const reviewHandler: { builder: (yargs: Argv) => Argv<{ task: string; } & { action: string; } & { reason: string | undefined; } & { "idempotency-key": string | undefined; } & { "no-idempotency": boolean; }>; handler: (argv: ArgumentsCamelCase) => Promise; }; export {};