import * as Db from '../../db/Db.js'; import * as Viem from '../Viem.js'; import * as Chain from './Chain.js'; import type * as Reconciliation from './Reconciliation.js'; /** Resolves preferred evidence endpoints while retaining catalog URLs as fallbacks. */ export declare function resolveRpcUrls(options: resolveRpcUrls.Options): readonly string[]; export declare namespace resolveRpcUrls { /** Catalog chain and Worker override used to resolve evidence endpoints. */ type Options = { /** Funding chain with catalog-owned fallback endpoints. */ chain: Chain.Chain; /** Tempo chain that receives a shared RPC URL override. */ defaultChainId: Viem.ChainId; /** Shared or per-chain RPC URL environment value configured by the Worker. */ rpcUrlEnv?: Viem.UrlResolver | undefined; }; } /** Creates a token-transfer verifier for EVM, Solana, and Tron chains. */ export declare function createVerifier(options: createVerifier.Options): Reconciliation.VerifyTransfers; export declare namespace createVerifier { /** Chain clients and finality bounds used for funding evidence. */ type Options = { /** Per-chain confirmation overrides keyed by CAIP-2 id. */ confirmations?: Readonly> | undefined; /** Authoritative database or per-invocation database factory. */ db: Db.Source; /** Tempo chain that receives a shared RPC URL override. */ defaultChainId?: Viem.ChainId | undefined; /** Fetch implementation override for tests. */ fetch?: typeof globalThis.fetch | undefined; /** Shared or per-EVM-chain RPC URL environment value. */ rpcUrlEnv?: Viem.UrlResolver | undefined; }; } /** No authoritative chain endpoint is configured for a funding route. */ export declare class ChainConfigurationError extends Error { name: string; constructor(chainId: string); } /** An authoritative chain endpoint returned an invalid payload. */ export declare class ChainPayloadError extends Error { name: string; } /** An authoritative chain endpoint returned an unsuccessful response. */ export declare class ChainResponseError extends Error { name: string; } //# sourceMappingURL=Evidence.d.ts.map