import { Command } from 'commander'; /** * Validate a `--paymaster-url` value: a well-formed http(s) base URL with no * query, fragment, or credentials. The URL is used verbatim as the paymaster * JSON-RPC endpoint, so it must be a plain base URL (undici rejects * credentialed URLs outright). * Returns the parsed URL's normalized string (lowercased scheme/host) with * trailing slashes stripped. * Throwing commander's `InvalidArgumentError` routes bad input through the * CLI's standard VALIDATION_ERROR path (see index.ts) before any send runs. */ export declare function parsePaymasterUrl(value: string): string; /** * Add `--paymaster-url` and a preAction hook that bridges the flag into the * env var the BSC gas-sponsorship path already reads. Attached to the * broadcasting leaf commands of the transfer, swap, erc20, compete, onramp, * erc8004, and erc8183 families (x402/serve/watch stay flag-free by design); * returns the command for chaining. */ export declare function attachPaymasterOption(cmd: Command): Command; //# sourceMappingURL=paymaster-option.d.ts.map