import type { JsonRpcProvider, JsonRpcSigner } from '@ethersproject/providers'; import { BigNumber } from 'ethers'; import { ChainId } from './generics'; export declare const DEFAULT_ADDRESS = "0xD4a0281cEeebA1CEeFB4eAbF63ca6A608E143Fdc"; export declare class Config { library: JsonRpcProvider; signer: JsonRpcSigner | undefined; chainId: number; get account(): string; constructor({ chainId, account, provider, signer, }: { chainId: ChainId; account?: string; provider?: JsonRpcProvider; signer?: JsonRpcSigner; }); setLibrary: ({ chainId, account, provider, }: { chainId: ChainId; account?: string | undefined; provider?: JsonRpcProvider | undefined; }) => void; setChainId: ({ chainId }: { chainId: ChainId; }) => void; setAccount: ({ account }: { account: string; }) => void; getLastBlock: () => Promise<{ blockNumber: number; blockTimestamp: BigNumber; }>; protected _account: string; }