import type { Signer } from '@ethersproject/abstract-signer'; import type { TokenId } from '@oasislabs/parcel'; import Parcel from '@oasislabs/parcel'; /** * Downloads tokenized data from Parcel. * @param parcel the Parcel instance, perhaps created by calling `makeParcel`. * @param ethSigner the `ethers.Signer` that was used to call `makeParcel` (or has been linked to a pre-existing Parcel identity) * @param nftContractAddr the address of the NFT contract bridgable to Parcel. * @param nftTokenId the index of the item for which to download data. */ export declare function downloadTokenizedData(parcel: Parcel, ethSigner: Signer, nftContractAddr: string, nftTokenId: number, parcelTokenId: TokenId, options?: Partial<{ bridgeTimeoutSeconds: number; /** Blob polyfill, if needed. */ Blob: typeof Blob; /** Alternative download function used in tests. */ saveFile: (data: string | Blob, filename?: string) => void; /** The Parcel bridge adapter address used in tests. */ bridgeAdapterAddress: string; }>): Promise;