/** * pop treasury send — governance proposal to transfer treasury funds. * * Wraps native-value transfers (or ERC20.transfer calls) from the Executor in * a HybridVoting proposal: option 0 executes the transfer batch, option 1 is * a no-op. Nothing moves unless the vote passes — but the proposal itself is * treated as DESTRUCTIVE (it puts a treasury spend on the ballot), so * non-interactive runs must pass --yes explicitly. * * The Executor supports at most 8 calls per option batch, capping batch sends * at 8 recipients per proposal. */ import type { Argv, ArgumentsCamelCase } from 'yargs'; interface SendArgs { org: string; to?: string; amount?: number; recipients?: string; token: string; duration: number; chain?: number; rpc?: string; 'private-key'?: string; 'dry-run'?: boolean; yes?: boolean; preflight?: boolean; } /** Parse --to/--amount or --recipients into a validated recipient list (max 8). */ export declare function parseRecipients(argv: Pick): Array<{ to: string; amount: number; }>; export declare const sendHandler: { builder: (yargs: Argv) => Argv<{ to: string | undefined; } & { amount: number | undefined; } & { recipients: string | undefined; } & { token: string; } & { duration: number; }>; handler: (argv: ArgumentsCamelCase) => Promise; }; export {};