import type { Identity } from '@antseed/node';
import type { Wallet } from 'ethers';
export interface CryptoContext {
    identity: Identity;
    wallet: Wallet;
    evmAddress: string;
}
export interface PaymentCryptoConfig {
    rpcUrl: string;
    fallbackRpcUrls?: string[];
    depositsContractAddress: string;
    channelsContractAddress: string;
    usdcContractAddress: string;
}
/**
 * Load crypto context from either ANTSEED_IDENTITY_HEX env var
 * or from the data directory's identity file.
 */
export declare function loadCryptoContext(options: {
    identityHex?: string;
    dataDir?: string;
}): Promise<CryptoContext>;
