import { AbiItem, Callback, CeloTxObject, Contract, EventLog } from "@celo/connect"; import { EventEmitter } from "events"; import Web3 from "web3"; import { EventOptions } from "./types"; export interface PairMentoV2 extends Contract { clone(): PairMentoV2; methods: { swap(input: string, output: string, to: string, data: string | number[]): CeloTxObject; parseData(data: string | number[]): CeloTxObject<{ broker: string; exchangeProvider: string; exchangeId: string; 0: string; 1: string; 2: string; }>; getOutputAmount(input: 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 newPairMentoV2(web3: Web3, address: string): PairMentoV2;