/** * pop token approve — approve a pending token request (MINTS new PT). * * Calls ParticipationToken.approveRequest(uint256 id) — VERIFIED against * contracts origin/main src/ParticipationToken.sol: onlyApprover (executor * or any allowed approver hat), reverts RequestUnknown / AlreadyApproved, * and NotRequester when the approver IS the requester (no self-approval). * Approval mints the requested amount straight to the requester and cannot * be undone — hence the DESTRUCTIVE confirmation gate. * * Pre-flight (skippable with --no-preflight) reads the request on-chain to * fail fast on every revert path, and checks the signer's approver hat. */ import type { Argv, ArgumentsCamelCase } from 'yargs'; interface ApproveArgs { org?: string; request: number; chain?: number; rpc?: string; 'private-key'?: string; 'dry-run'?: boolean; yes?: boolean; preflight?: boolean; } export declare const approveHandler: { builder: (yargs: Argv) => Argv<{ request: number; }>; handler: (argv: ArgumentsCamelCase) => Promise; }; export {};