import { Signer as Signer$1 } from 'ethersV6'; import { Signer } from 'ethers'; import { OwnerOfTokenOptions, OwnerOfTokenParams, TransactionOptions } from './types.js'; import '../utils/supportedChains/index.js'; import '../utils/gasStation/index.js'; import '../utils/network/index.js'; /** * Retrieves the owner of a given token from the TradeTrustToken contract. * Supports both Token Registry V4 and V5 implementations. * @param {OwnerOfTokenOptions} contractOptions - Options containing the token registry address. * @param {SignerV5 | SignerV6} signer - Signer instance (v5 or v6) used to query the blockchain. * @param {OwnerOfTokenParams} params - Contains the `tokenId` of the token to query ownership for. * @param {TransactionOptions} options - Includes the `titleEscrowVersion` and other optional metadata for interface detection. * @returns {Promise} A promise that resolves to the owner address of the specified token. * @throws {Error} If token registry address or signer provider is not provided. * @throws {Error} If the token registry does not support V4 or V5 interfaces. */ declare const ownerOf: (contractOptions: OwnerOfTokenOptions, signer: Signer | Signer$1, params: OwnerOfTokenParams, options: TransactionOptions) => Promise; export { ownerOf };