import { ethers, Signer } from "ethers"; export declare class Chain { signers: Signer[]; jsonProvider: ethers.providers.JsonRpcProvider; constructor(url?: any, wallets?: any[]); inject(windowEther: any): Promise; keyToSigner(key: string): ethers.Wallet; getAddress(signerOrKey: string | Signer): string; static convertAddress(signerOrAddress: string | Signer): string; getSigner(index: number): Signer | undefined; getSignerByAddress(address: string): Signer; balance(signer: String | Signer, log?: {}): Promise; sendTx0(toAddress: string | Signer, etherValue: number, log?: { name: string; }): Promise; sendTx(fromAddress: string | Signer, toAddress: string | Signer, etherValue: number, log?: { name: string; }): Promise; smoothNonce(key: string | Signer, toAddr: string, urlList: [], transfer?: boolean, log?: { name: string; }): Promise<(boolean | { url: never; diff: number; nonce: number; maxNonce: number; }[])[] | undefined>; signMessage(address: string | Signer, message: string, log?: { name: string; }): Promise; getBlock(user?: Signer, blockNumber?: number | string): Promise; getLatestBlock(user?: Signer): Promise; getLatestBlockHeight(user?: Signer): Promise; getLatestBlockTimestamp(user?: Signer): Promise; } //# sourceMappingURL=Chain.d.ts.map