/** * Retrieves the owner of an NFT by its token mint address. * * @param {string} nftAddress - The mint address of the NFT. * @param {string} endpoint - The Solana network endpoint to connect to. * @returns {Promise} - A promise that resolves with the owner's address. * @throws {Error} - Throws an error if unable to fetch the NFT metadata or owner. * * @example * ``` * const run = async () => { * const nftMintAddress = 'Fg6...sdf'; * const solanaEndpoint = 'https://api.mainnet-beta.solana.com'; * try { * const result = await getNftOwnerByTokenMint(nftMintAddress, solanaEndpoint); * console.log('NFT Owner:', result); * } catch (error) { * console.error('Error:', error); * } * } * * run(); * ``` */ export declare const getNftOwnerByTokenMint: (nftAddress: string, endpoint: string) => Promise;