import { Signer, TransactionReceipt } from "ethers"; import type { IOrder } from "../marketplace"; import { type GasPriceOptions } from "../utils"; export interface BuyMarketplaceOrderOptions extends GasPriceOptions { /** Pre-fetched order data. If not provided, will be fetched from the API */ existingOrder?: IOrder; } export default function buyMarketplaceOrder(axieId: number, signer: Signer, accessToken: string, skyMavisApiKey: string, options?: BuyMarketplaceOrderOptions): Promise;