import { type Address, type Cell, type Contract, type ContractProvider, type Sender, type Transaction, type ExternalAddress } from 'ton-core'; import { type Maybe } from 'ton-core/dist/utils/maybe'; import { type Send } from '../utils/send'; export type StandardNftData = { init: boolean; index: bigint; collectionAddress: Address | null; ownerAddress: Address | null; individualContent: Cell | null; }; export type StandardNftTransfer = { queryId: number; from?: Address | Maybe; to: Address; responseTo?: Address; customPayload: Cell | null; forwardAmount: bigint; forwardPayload: Cell | null; }; /** * Represents an NFT item contract */ export declare class StandardNftItem implements Contract { readonly address: Address; readonly init?: { code: Cell; data: Cell; } | undefined; constructor(address: Address, init?: { code: Cell; data: Cell; } | undefined); /** * Sends a transfer from the contract * @param provider - The ContractProvider to facilitate the transfer * @param via - The Sender initiating the transfer * @param params - The parameters for the transfer */ sendTransfer(provider: ContractProvider, via: Sender, params: Send & { newOwner: Address; responseDestination: Maybe
; customPayload: Maybe; forwardAmount: bigint; forwardPayload: Maybe; }): Promise; /** * Gets static data from the contract * @param provider - The ContractProvider to facilitate the data retrieval * @param via - The Sender initiating the data retrieval * @param params - The parameters for the data retrieval */ sendGetStaticData(provider: ContractProvider, via: Sender, params: Send): Promise; /** * Retrieves the data of the NFT from the contract * @param provider - The ContractProvider to facilitate the data retrieval */ getNftData(provider: ContractProvider): Promise; /** * Parses a transfer transaction * @param transaction - The Transaction to be parsed * @returns A NftTransfer object if the transaction is valid, undefined otherwise */ static parseTransfer(transaction: Transaction): StandardNftTransfer | undefined; } //# sourceMappingURL=StandardNftItem.d.ts.map