/** RelAI Facilitator URL */ declare const RELAI_FACILITATOR_URL = "https://facilitator.x402.fi"; /** All networks supported by RelAI facilitator */ type RelaiNetwork = 'solana' | 'solana-devnet' | 'base' | 'avalanche' | 'skale-base' | 'skale-base-sepolia' | 'skale-bite' | 'polygon' | 'ethereum' | 'telos'; /** CAIP-2 network identifiers */ declare const NETWORK_CAIP2: Record; /** Reverse lookup: CAIP-2 → simple network name */ declare const CAIP2_TO_NETWORK: Record; /** Chain IDs for EVM networks */ declare const CHAIN_IDS: Record; interface NetworkToken { address: string; symbol: string; name: string; decimals: number; domainVersion?: string; isStableUsd?: boolean; standards?: string[]; } /** Token metadata per network (default token is always the first entry) */ declare const NETWORK_TOKENS: Partial>; declare function resolveToken(network: RelaiNetwork, asset?: string): NetworkToken | null; /** USDC contract addresses per network */ declare const USDC_ADDRESSES: Record; /** Explorer URLs per network */ declare const EXPLORER_TX_URL: Record string>; /** Human-readable network labels */ declare const NETWORK_LABELS: Record; /** Legacy CAIP-2 exports for backward compatibility */ declare const SOLANA_MAINNET_NETWORK: string; declare const BASE_MAINNET_NETWORK: string; /** Legacy USDC exports for backward compatibility */ declare const USDC_SOLANA: string; declare const USDC_BASE: string; /** All supported RelAI networks list */ declare const RELAI_NETWORKS: RelaiNetwork[]; /** Check if a network is Solana-based */ declare function isSolana(network: string): boolean; /** Check if a network is EVM-based */ declare function isEvm(network: string): boolean; /** Normalize CAIP-2 or simple name to RelaiNetwork */ declare function normalizeNetwork(network: string): RelaiNetwork | null; /** Solana wallet interface */ interface SolanaWallet { publicKey: { toString(): string; } | null; signTransaction: ((tx: unknown) => Promise) | null; signAllTransactions?: ((txs: unknown[]) => Promise) | null; } /** EVM wallet interface (viem-compatible) */ interface EvmWallet { address: string; signTypedData: (params: unknown) => Promise; chain?: { id: number; }; } /** Wallet set for multi-chain support */ interface WalletSet { solana?: SolanaWallet; evm?: EvmWallet; } /** Extra fields in payment requirements */ interface AcceptsExtra { feePayer?: string; decimals?: number; name?: string; version?: string; [key: string]: unknown; } /** A single payment option */ interface PaymentAccept { x402Version?: 1 | 2; scheme: string; network: string; maxAmountRequired?: string; amount?: string; asset: string; payTo: string; maxTimeoutSeconds?: number; extra?: AcceptsExtra; resource?: string; description?: string; mimeType?: string; outputSchema?: unknown; } /** Resource info for v2 */ interface ResourceInfo { url: string; description?: string; mimeType?: string; } /** Payment requirements (402 response) */ interface PaymentRequired { x402Version: 1 | 2; error?: string; accepts: PaymentAccept[]; resource?: ResourceInfo; extensions?: Record; } export { type AcceptsExtra as A, BASE_MAINNET_NETWORK as B, CAIP2_TO_NETWORK as C, EXPLORER_TX_URL as E, NETWORK_CAIP2 as N, type PaymentAccept as P, type RelaiNetwork as R, type SolanaWallet as S, USDC_ADDRESSES as U, type WalletSet as W, RELAI_FACILITATOR_URL as a, CHAIN_IDS as b, type NetworkToken as c, NETWORK_TOKENS as d, NETWORK_LABELS as e, SOLANA_MAINNET_NETWORK as f, USDC_SOLANA as g, USDC_BASE as h, RELAI_NETWORKS as i, isSolana as j, isEvm as k, type EvmWallet as l, type ResourceInfo as m, normalizeNetwork as n, type PaymentRequired as o, resolveToken as r };