import type { BaseTransactionOptions } from "../../../transaction/types.js"; import type { NFT } from "../../../utils/nft/parseNft.js"; import { type GetOwnedTokenIdsParams } from "./getOwnedTokenIds.js"; /** * @extension ERC721 */ export type GetOwnedNFTsParams = GetOwnedTokenIdsParams & { useIndexer?: boolean; }; /** * Retrieves the owned NFTs for a given owner. * This extension only works with ERC721 contracts that support the [`tokenOfOwnerByIndex`](https://portal.thirdweb.com/references/typescript/v5/erc721/tokenOfOwnerByIndex) method * @param options - The options for retrieving the owned NFTs. * @returns A promise that resolves to an array of NFTs owned by the specified owner. * @extension ERC721 * @example * ```ts * import { getOwnedNFTs } from "thirdweb/extensions/erc721"; * * const ownedNFTs = await getOwnedNFTs({ * contract, * owner: "0x1234...", * }); * ``` */ export declare function getOwnedNFTs(options: BaseTransactionOptions): Promise; //# sourceMappingURL=getOwnedNFTs.d.ts.map