import * as zod_v4_core from 'zod/v4/core'; import * as zod_mini from 'zod/mini'; import { Method } from 'mppx'; import { Account } from 'viem'; interface BridgeChargeClientConfig { /** viem Account for EVM source chain payments */ evmAccount?: Account; /** Solana keypair for Solana source chain payments */ solanaKeypair?: { publicKey: { toBase58(): string; }; secretKey: Uint8Array; }; /** Preferred EVM source chain ID — tried first before other EVM chains */ preferredSourceChainId?: number; /** Override RPC URLs per source chain (CAIP-2 key): { "eip155:8453": "https://..." } */ rpcUrls?: Record; /** Override Solana RPC URL (default: https://api.mainnet-beta.solana.com) */ solanaRpcUrl?: string; } declare function bridgeCharge(config: BridgeChargeClientConfig): Method.Client<{ readonly intent: "charge"; readonly name: "bridge"; readonly schema: { readonly credential: { readonly payload: zod_mini.ZodMiniObject<{ type: zod_mini.ZodMiniString; targetTxHash: zod_mini.ZodMiniOptional>; sourceTxHash: zod_mini.ZodMiniOptional>; sourceChain: zod_mini.ZodMiniOptional>; }, zod_v4_core.$strip>; }; readonly request: zod_mini.ZodMiniObject<{ amount: zod_mini.ZodMiniString; currency: zod_mini.ZodMiniString; recipient: zod_mini.ZodMiniString; description: zod_mini.ZodMiniOptional>; methodDetails: zod_mini.ZodMiniObject<{ targetChainId: zod_mini.ZodMiniNumber; targetNetwork: zod_mini.ZodMiniOptional>; targetRpcUrl: zod_mini.ZodMiniOptional>; targetDecimals: zod_mini.ZodMiniOptional>; settleEndpoint: zod_mini.ZodMiniString; supportedSourceChains: zod_mini.ZodMiniArray>; supportedSourceAssets: zod_mini.ZodMiniOptional>>; payToMap: zod_mini.ZodMiniRecord, zod_mini.ZodMiniString>; feePayerSvm: zod_mini.ZodMiniOptional>; feeBps: zod_mini.ZodMiniOptional>; paymentFacilitator: zod_mini.ZodMiniOptional>; reference: zod_mini.ZodMiniString; }, zod_v4_core.$strip>; }, zod_v4_core.$strip>; }; }, undefined>; export { type BridgeChargeClientConfig, bridgeCharge };