import { AbiItem, Callback, CeloTxObject, Contract, EventLog } from "@celo/connect"; import { EventEmitter } from "events"; import Web3 from "web3"; import { EventOptions } from "./types"; export interface PairOpenSumSwap extends Contract { clone(): PairOpenSumSwap; methods: { swap(input: string, output: string, to: string, data: string | number[]): CeloTxObject; getOutputAmount(arg0: string, output: string, amountIn: number | string, data: string | number[]): CeloTxObject; }; events: { allEvents: (options?: EventOptions, cb?: Callback) => EventEmitter; }; } export declare const ABI: AbiItem[]; export declare function newPairOpenSumSwap(web3: Web3, address: string): PairOpenSumSwap;