import { type Address, type Contract, type ContractProvider, type Sender, type Cell } from 'ton-core'; import { type Maybe } from 'ton-core/dist/utils/maybe'; export type NftFixPriceData = { marketplaceAddress: Address; nftAddress: Address; nftOwnerAddress: Maybe
; fullPrice: bigint; marketplaceFee: bigint; marketplaceFeeAddress: Address; royaltyAmount: bigint; royaltyAddress: Address; }; export type NftFixPriceGetSaleData = { marketplaceAddress: Address | null; nftAddress: Address | null; nftOwnerAddress: Address | null; fullPrice: bigint; marketplaceFeeAddress: Address | null; marketplaceFee: bigint; royaltyAddress: Address | null; royaltyAmount: bigint; }; /** * Class representing a Non-Fungible Token (NFT) fixed price sale contract */ export declare class NftFixedPrice implements Contract { readonly address: Address; readonly init?: { code: Cell; data: Cell; } | undefined; static code: Cell; /** * Creates an `NftFixedPrice` instance from an address and initialization data * @param address - The address of the contract * @param init - The initialization data * @returns A new `NftFixedPrice` instance */ constructor(address: Address, init?: { code: Cell; data: Cell; } | undefined); /** * Builds the data cell for an NFT fixed price sale * @param data - The data for the NFT sale * @returns A cell containing the data for the NFT sale */ static buildDataCell(data: NftFixPriceData): Cell; /** * Creates an NftFixedPrice instance from an address * @param address - The address to create from * @returns A new NftFixedPrice instance */ static createFromAddress(address: Address): NftFixedPrice; /** * Creates an NftFixedPrice instance from a configuration object * @param config - The configuration data for the NFT sale * @param workchain - The workchain ID (default is 0) * @returns A new NftFixedPrice instance */ static createFromConfig(config: NftFixPriceData, 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; /** * Retrieves the sale data from the contract * @param provider - The contract provider * @returns An object containing the sale data */ getSaleData(provider: ContractProvider): Promise; } //# sourceMappingURL=NftFixedPrice.d.ts.map