import { NetworkRpcConfig } from '../utils/solana'; export interface X402FacilitatorConfig { /** Network-specific RPC URLs (optional, falls back to env vars or public endpoints) */ rpcConfig?: NetworkRpcConfig; /** Default USDC mint address */ usdcMint?: string; } export declare class X402FacilitatorServer { private connections; private agentWallet?; private usdcMint; private defaultNetworkId; private rpcConfig; private seenNonces; private logger; constructor(config?: X402FacilitatorConfig); /** * Get or create a connection for a specific network * Connections are cached for reuse */ private getConnection; /** * Get the default connection (for backward compatibility) */ private get connection(); /** * Get networkId (for backward compatibility) */ private get networkId(); verify(paymentHeader: string, paymentRequirements: any): Promise; private validatePaymentLocally; settle(paymentHeader: string, paymentRequirements: any): Promise; private executeUSDCTransfer; private validateMintDecimals; private cleanupNonces; private validateSignedTransaction; private readU64; private sendTransactionWithRetry; /** * Get supported payment schemes * Returns all networks that can be handled (devnet and mainnet-beta) */ getSupportedSchemes(): { kinds: Array<{ scheme: string; network: string; }>; }; } //# sourceMappingURL=X402FacilitatorServer.d.ts.map