import type { BaseTransactionOptions } from "../../../transaction/types.js"; import type { NFT } from "../../../utils/nft/parseNft.js"; import { type GetOwnedTokenIdsParams } from "./getOwnedTokenIds.js"; /** * Parameters for retrieving NFTs. * @extension ERC1155 */ export type GetOwnedNFTsParams = GetOwnedTokenIdsParams & { /** * Whether to use the insight API to fetch the NFTs. * @default true */ useIndexer?: boolean; }; /** * Retrieves the owned ERC1155 NFTs for a given wallet address. * @param options - The transaction options and parameters. * @returns A promise that resolves to an array of ERC1155 NFTs owned by the wallet address, along with the quantity owned. * @extension ERC1155 * @example * ```ts * import { getOwnedNFTs } from "thirdweb/extensions/erc1155"; * const nfts = await getOwnedNFTs({ * contract, * start: 0, * count: 10, * address: "0x123...", * }); * ``` */ export declare function getOwnedNFTs(options: BaseTransactionOptions): Promise<(NFT & { quantityOwned: bigint; })[]>; //# sourceMappingURL=getOwnedNFTs.d.ts.map