import type { BaseTransactionOptions, WithOverrides } from "../../../transaction/types.js"; import type { NFTInput } from "../../../utils/nft/parseNft.js"; /** * @extension ERC721 */ export type LazyMintParams = WithOverrides<{ nfts: (NFTInput | string)[]; }>; /** * Lazily mints ERC721 tokens. * This method is only available on the `DropERC721` contract. * * @param options - The options for the lazy minting process. * @returns A promise that resolves to the prepared contract call. * @extension ERC721 * @example * ```ts * import { lazyMint } from "thirdweb/extensions/erc721"; * import { sendTransaction } from "thirdweb"; * * const transaction = lazyMint({ * contract, * nfts: [ * { * name: "My NFT", * description: "This is my NFT", * image: "https://example.com/image.png", * }, * ], * }); * * await sendTransaction({ transaction, account }); * ``` */ export declare function lazyMint(options: BaseTransactionOptions): import("../../../transaction/prepare-transaction.js").PreparedTransaction; /** * Checks if the `lazyMint` method is supported by the given contract. * @param availableSelectors An array of 4byte function selectors of the contract. You can get this in various ways, such as using "whatsabi" or if you have the ABI of the contract available you can use it to generate the selectors. * @returns A boolean indicating if the `lazyMint` method is supported. * @extension ERC721 * @example * ```ts * import { isLazyMintSupported } from "thirdweb/extensions/erc721"; * * const supported = isLazyMintSupported(["0x..."]); * ``` */ export declare function isLazyMintSupported(availableSelectors: string[]): boolean; //# sourceMappingURL=lazyMint.d.ts.map