import * as anchor from '@project-serum/anchor'; import { web3 } from '@project-serum/anchor'; import { SingleTokenInfo } from './fetchMetadata'; import { CacheNFTParam, FetchNFTBatchParam } from './fetch.type'; import { MasterEditionNft } from './token.type'; /** * @note Fetch all NFTs from target wallet on Solana chain * @param connection anchor.web3.Connection * @param walletAddress target wallet anchor.web3.PublicKey to fetch the NFTs * @param identifiers for differentiate the collection * @param fetchNFTBatchParam the param object to specify batchCallback and batchSize, * batchSize will be restricted to 40 as maximum due to endpoint limitation * @param cacheNFTParam the param object to specify cache options * @returns array of the SingleTokenInfo in Promise */ export declare const fetchNftsFromWallet: (connection: anchor.web3.Connection, walletAddress: anchor.web3.PublicKey, identifiers: string[] | undefined, fetchNFTBatchParam?: FetchNFTBatchParam | undefined, cacheNFTParam?: CacheNFTParam | undefined) => Promise; export declare const fetchUserMasterNFTs: (userWalletPublicKey: web3.PublicKey, connection: web3.Connection) => Promise;