import { type Address } from 'viem'; declare const ROUTERS: { readonly USDC: Address; readonly USDT0: Address; }; export type X402Asset = keyof typeof ROUTERS; /** * Build, sign (EIP-3009 ReceiveWithAuthorization), and settle an x402 `exact` * stablecoin payment on Ink through the configured facilitator. The signed * `to` is the asset's X402FeeRouter (NOT the seller) — the router pulls the * funds, takes the protocol fee, and forwards the net to the seller. The * facilitator sponsors the settlement gas, so the payer needs no ETH and no * prior ERC-20 approval. Returns the parsed facilitator `/settle` response. */ export declare function payExact(params: { asset: X402Asset; amount: bigint; seller: Address; feeBps?: number; timeoutSeconds?: number; resource?: string; }): Promise>; export declare const x402Tools: ({ name: string; description: string; inputSchema: { type: "object"; properties: { amount?: undefined; feeBps?: undefined; paymentPayload?: undefined; paymentRequirements?: undefined; asset?: undefined; seller?: undefined; }; required?: undefined; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { amount: { type: string; description: string; }; feeBps: { type: string; description: string; }; paymentPayload?: undefined; paymentRequirements?: undefined; asset?: undefined; seller?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { paymentPayload: { type: string; description: string; }; paymentRequirements: { type: string; description: string; }; amount?: undefined; feeBps?: undefined; asset?: undefined; seller?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { asset: { type: string; description: string; }; amount?: undefined; feeBps?: undefined; paymentPayload?: undefined; paymentRequirements?: undefined; seller?: undefined; }; required?: undefined; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { seller: { type: string; description: string; }; amount: { type: string; description: string; }; asset: { type: string; description: string; }; feeBps: { type: string; description: string; }; paymentPayload?: undefined; paymentRequirements?: undefined; }; required: string[]; }; })[]; export declare function handleX402Tool(name: string, args: Record): Promise; export {}; //# sourceMappingURL=x402.d.ts.map