/**
 * Shared helpers for integration tests.
 *
 * Provides config loading and MockWalletAdapter matching the patterns
 * used by tests/wasm/run-tests.mjs, so the same test-env.json and
 * environment variables work across all test suites.
 */
export interface TestConfig {
    serverUrl: string;
    rpcUrl: string;
    chainId: number;
    privateKey: string;
    address: string;
    secondPrivateKey: string;
    secondAddress: string;
    testToken: string;
    wethContractAddress: string;
    appId: string;
    testAmounts: {
        shieldAmount: string;
        unshieldAmount: string;
        transferAmount: string;
        ethShieldAmount: string;
        ethUnshieldAmount: string;
    };
    timing: {
        complianceWindow: number;
        testTimeout: number;
    };
}
export declare function loadTestConfig(): TestConfig;
/**
 * Auto-discover chain config from the indexer's /api/v1/info endpoint.
 */
export declare function discoverServerInfo(serverUrl: string): Promise<{
    chainId: number;
    poolAddress: string;
    teePublicKey: string;
    tokenRegistryAddress: string;
}>;
/**
 * Mock wallet adapter using ethers.js — same pattern as tests/wasm/run-tests.mjs.
 * Implements the WalletBridge interface expected by SDK authenticate().
 */
export declare function createMockWallet(privateKey: string, rpcUrl: string, chainId: number): Promise<{
    connect(): Promise<{
        address: string;
        chainId: number;
    }>;
    disconnect(): Promise<void>;
    getAddress(): Promise<string>;
    getChainId(): Promise<number>;
    signMessage(message: string): Promise<string>;
    signTypedData(typedDataJson: string): Promise<string>;
    readContract(contractAddress: string, data: string): Promise<string>;
    sendTransaction(tx: {
        to?: string;
        toAddress?: string;
        value?: string;
        data?: string;
    }): Promise<string>;
    waitForTransactionReceipt(txHash: string): Promise<{
        status: string;
        transactionHash: string;
        logs: {
            address: string;
            topics: string[];
            data: string;
        }[];
    }>;
}>;
export declare function sleep(ms: number): Promise<void>;
//# sourceMappingURL=test-helpers.d.ts.map