import { type Address, Cell, type ContractProvider, type Sender } from 'ton-core'; import { StandardNftItemRoyalty } from '../../standard/StandardNftItemRoyalty'; /** * Class representing a single Non-Fungible Token (NFT) with royalty. */ export declare class NftSingle extends StandardNftItemRoyalty { static code: Cell; /** * Builds a data cell for the NFT. * @param data - The data for the NFT. * @returns The built data cell. */ static buildDataCell(data: NftSingleData): Cell; /** * Creates an NftSingle instance from an address. * @param address - The address to create from. * @returns A new NftSingle instance. */ static createFromAddress(address: Address): NftSingle; /** * Creates an NftSingle instance from a config. * @param config - The config to create from. * @param workchain - The workchain to use (default is 0). * @returns A new NftSingle instance. */ static createFromConfig(config: NftSingleData, workchain?: number): Promise; /** * Sends a deploy command to the contract. * @param provider - The contract provider. * @param via - The sender of the deploy command. * @param value - The value to send with the command. */ sendDeploy(provider: ContractProvider, via: Sender, value: bigint): Promise; /** * Sends a transferEditorship command to the contract. * @param provider - The contract provider. * @param via - The sender of the transferEditorship command. * @param params - Parameters for the transferEditorship command including value, optional queryId, newEditor, responseTo, and optional forwardAmount. */ sendTransferEditorship(provider: ContractProvider, via: Sender, params: { value: bigint; queryId?: number; newEditor: Address; responseTo: Address | null; forwardAmount?: bigint; }): Promise; } /** * Represents the parameters for royalty. */ export type RoyaltyParams = { royaltyFactor: number; royaltyBase: number; royaltyAddress: Address; }; /** * Represents the data for a single NFT. */ export type NftSingleData = { ownerAddress: Address; editorAddress: Address; content: string; royaltyParams: RoyaltyParams; }; //# sourceMappingURL=NftSingle.d.ts.map