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