import { AbiItem, Callback, CeloTxObject, Contract, EventLog } from "@celo/connect"; import { EventEmitter } from "events"; import Web3 from "web3"; import { EventOptions } from "./types"; export interface IBroker extends Contract { clone(): IBroker; methods: { swapIn(exchangeProvider: string, exchangeId: string | number[], tokenIn: string, tokenOut: string, amountIn: number | string, amountOutMin: number | string): CeloTxObject; getAmountOut(exchangeProvider: string, exchangeId: string | number[], tokenIn: string, tokenOut: string, amountIn: number | string): CeloTxObject; }; events: { allEvents: (options?: EventOptions, cb?: Callback) => EventEmitter; }; } export declare const ABI: AbiItem[]; export declare function newIBroker(web3: Web3, address: string): IBroker;