import type { Chain } from "../types"; import type { Fetcher } from "./fetcher"; import type { CrossChainDropMintRequest, CrossChainDropMintResponse, DropDeployReceiptResponse, DropDeployRequest, DropDeployResponse, DropMintRequest, DropMintResponse, GetDropResponse, GetDropsArgs, GetDropsResponse } from "./types"; /** * Drop-related API operations */ export declare class DropsAPI { private fetcher; constructor(fetcher: Fetcher); /** * Gets a list of drops (mints). */ getDrops(args?: GetDropsArgs): Promise; /** * Gets detailed drop information for a collection. */ getDrop(slug: string): Promise; /** * Builds a mint transaction for a drop. */ buildMintTransaction(slug: string, request: DropMintRequest): Promise; /** * Builds ordered transactions for paying on one chain and minting on * another. Submit each transaction in order, then poll the returned * `receiptRequest` with `getTransactionReceipt` until it is terminal. */ buildCrossChainMintTransactions(slug: string, request: CrossChainDropMintRequest): Promise; /** * Builds a deploy-contract transaction for a new drop. Returns * ready-to-sign transaction data — caller submits onchain and then polls * `getDeployReceipt` until the contract address is available. */ deployDropContract(request: DropDeployRequest): Promise; /** * Get the receipt of a previously submitted drop-deploy transaction. */ getDeployReceipt(chain: Chain, txHash: string): Promise; }