/** * pop task apply — apply for an application-gated task. * * Pre-flight (skippable with --no-preflight) runs BEFORE the IPFS pin so a * doomed application never wastes a pin: * - the task must use applications (requiresApplication), else the * contract would revert NoApplicationRequired * - the signer must not have applied already (AlreadyApplied) * - status must be UNCLAIMED, or CLAIMED with an expired claim — * v6 allows applyForTask while an expired claim awaits takeover */ import type { Argv, ArgumentsCamelCase } from 'yargs'; interface ApplyArgs { org: string; task: string; notes?: string; experience?: string; chain?: number; rpc?: string; 'private-key'?: string; 'dry-run'?: boolean; yes?: boolean; preflight?: boolean; 'idempotency-key'?: string; 'no-idempotency'?: boolean; } export declare const applyHandler: { builder: (yargs: Argv) => Argv<{ task: string; } & { notes: string | undefined; } & { experience: string | undefined; } & { "idempotency-key": string | undefined; } & { "no-idempotency": boolean; }>; handler: (argv: ArgumentsCamelCase) => Promise; }; export {};