import { ContractCallAction } from '../actions/ContractCallAction'; import { EncodedFunctionOutput, EncodedFunctionParameter } from '../types'; import { ethers, TransactionResponse } from 'ethers'; export declare let web3provider: ethers.JsonRpcProvider; export declare function poll(fetchFn: () => Promise, conditionFn: (response: T) => boolean, intervalSeconds?: number): Promise; export declare const wait: (ms: number) => Promise; export declare function isBrowser(): boolean; export declare function ensureBrowser(): void; export declare function getWeb3Provider(chainId: string): Promise; export declare function readContract(contract_address: string, function_name: string, function_params: EncodedFunctionParameter[], output_params: EncodedFunctionOutput[], caller_address: string): Promise; export declare function writeContract(contract_address: string, function_name: string, function_params: EncodedFunctionParameter[], eth_amount: string): Promise; export declare function signAndSendTransaction(contract_address: string, function_name: string, pk: string, parameter_names?: string[], function_params?: [EncodedFunctionParameter]): Promise; export declare function fetchChainlist(): Promise>; export declare function fetchChainlinkContractsAddresses(): Promise>;