import { type Address, Cell, type Contract, type ContractProvider, type Sender } from 'ton-core'; /** * Class representing a NFT fixed price sale contract V3 */ export declare class NftFixedPriceV3 implements Contract { readonly address: Address; readonly init?: { code: Cell; data: Cell; } | undefined; constructor(address: Address, init?: { code: Cell; data: Cell; } | undefined); static code: Cell; /** * 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: NftFixPriceSaleV3Data): Cell; /** * Creates an NftFixedPriceV3 instance from an address. * @param address - The address to create from. * @returns A new NftFixedPriceV3 instance. */ static createFromAddress(address: Address): NftFixedPriceV3; /** * Creates an NftFixedPriceV3 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 NftFixedPriceV3 instance. */ static createFromConfig(config: NftFixPriceSaleV3Data, 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 coins to the contract. * @param provider - The contract provider. * @param via - The sender of the coins. * @param params - Parameters for the operation, including the value and queryId. */ sendCoins(provider: ContractProvider, via: Sender, params: { value: bigint; queryId: bigint; }): Promise; /** * Sends a command to cancel the sale. * @param provider - The contract provider. * @param via - The sender of the command. * @param params - Parameters for the operation, including the value and queryId. */ sendCancelSale(provider: ContractProvider, via: Sender, params: { value: bigint; queryId: bigint; }): Promise; /** * Sends a command to buy the NFT. * @param provider - The contract provider. * @param via - The sender of the command. * @param params - Parameters for the operation, including the value and queryId. */ sendBuy(provider: ContractProvider, via: Sender, params: { value: bigint; queryId: 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<{ isComplete: bigint; createdAt: bigint; marketplaceAddress: Address | null; nftAddress: Address | null; nftOwnerAddress: Address | null; fullPrice: bigint; marketplaceFeeAddress: Address | null; marketplaceFee: bigint; royaltyAddress: Address | null; royaltyAmount: bigint; }>; } /** * Type definition for the data of an NFT fixed price sale. */ export type NftFixPriceSaleV3Data = { isComplete: boolean; createdAt: number; marketplaceAddress: Address; nftAddress: Address; nftOwnerAddress: Address | null; fullPrice: bigint; marketplaceFeeAddress: Address; marketplaceFee: bigint; royaltyAddress: Address; royaltyAmount: bigint; canDeployByExternal?: boolean; }; //# sourceMappingURL=NftFixedPriceV3.d.ts.map