import { Network } from '@dcl/schemas/dist/dapps/network'; import { MoonPayConfig, Purchase } from '../types'; import { MoonPayTransaction } from './types'; export declare class MoonPay { private readonly apiKey; private readonly widgetBaseUrl; private readonly moonPayAPI; constructor(config: MoonPayConfig); private getPurchaseStatus; /** * Given the transaction id, returns the MoonPay Transaction. * * @param transactionId - MoonPay Transaction ID. */ getTransaction(transactionId: string): Promise; /** * Given the transaction, returns a Promise of an object with the relevant information of the purchase. * * @param transaction - MoonPay Transaction. */ createPurchase(transaction: MoonPayTransaction, network: Network): Purchase; getWidgetUrl(network: Network): string; getTransactionReceiptUrl(transactionId: string): string; }