import { AbiItem, Callback, CeloTxObject, Contract, EventLog } from "@celo/connect"; import { EventEmitter } from "events"; import Web3 from "web3"; import { EventOptions } from "./types"; export interface IOpenSumSwap extends Contract { clone(): IOpenSumSwap; methods: { paused(): CeloTxObject; getToken(index: number | string): CeloTxObject; getBalances(): CeloTxObject; swap(tokenFrom: string, tokenTo: string, amountIn: number | string, minAmountOut: number | string, deadline: number | string): CeloTxObject; }; events: { allEvents: (options?: EventOptions, cb?: Callback) => EventEmitter; }; } export declare const ABI: AbiItem[]; export declare function newIOpenSumSwap(web3: Web3, address: string): IOpenSumSwap;