import { Signer } from 'ethers'; import { TransactionResponse } from '@ethersproject/abstract-provider'; import { GasParams, SignerOrProvider } from '../types/types'; export interface LimitedCallSpec extends GasParams { from: string; to: string; data: string; value?: string; } export declare class Web3Signer { chainId: number; signer: SignerOrProvider; constructor(signer: SignerOrProvider, chainId: number); static getOrderHash(typedData: any): string; signTypedData(account: string, typedData: any): Promise; ethSend(call: LimitedCallSpec): Promise; getSigner(account?: string): Promise; getCurrentAccount(): Promise; approveERC20Proxy(account: string, erc20Address: string, spender: string, gasParams?: GasParams, allowance?: string): Promise; approveERC721Proxy(account: string, erc721Address: string, operator: string, gasParams?: GasParams, approved?: boolean): Promise; approveERC1155Proxy(account: string, erc1155Address: string, operator: string, gasParams: GasParams, approved?: boolean): Promise; }