import { type Address, type Cell, type Contract, type ContractProvider, type Sender } from 'ton-core'; export type NftAuctionV2Data = { marketplaceFeeAddress: Address; marketplaceFeeFactor: bigint; marketplaceFeeBase: bigint; royaltyAddress: Address; royaltyFactor: bigint; royaltyBase: bigint; minBid: bigint; maxBid: bigint; minStep: bigint; endTimestamp: number; createdAtTimestamp: number; stepTimeSeconds: number; tryStepTimeSeconds: number; nftOwnerAddress: Address | null; nftAddress: Address; end: boolean; marketplaceAddress: Address; activated: boolean; }; export type NftAuctionV2GetSaleData = { end: bigint; endTimestamp: bigint; marketplaceAddress: Address | null; nftAddress: Address | null; nftOwnerAddress: Address | null; lastBidAmount: bigint; lastBidAddress: Address | null; minStep: bigint; marketplaceFeeAddress: Address | null; marketplaceFeeFactor: bigint; marketplaceFeeBase: bigint; royaltyAddress: Address | null; royaltyFactor: bigint; royaltyBase: bigint; maxBid: bigint; minBid: bigint; createdAt: bigint; lastBidAt: bigint; isCanceled: bigint; }; /** * Class representing an NFT auction contract version 2 */ export declare class NftAuctionV2 implements Contract { readonly address: Address; readonly init?: { code: Cell; data: Cell; } | undefined; static code: Cell; /** * Creates an `NftAuctionV2` instance from an address and initialization data * @param address - The address of the contract * @param init - The initialization data * @returns A new `NftAuctionV2` instance */ constructor(address: Address, init?: { code: Cell; data: Cell; } | undefined); /** * Builds the data cell for the auction contract * @param data - The data for building the data cell * @returns The built data cell */ static buildDataCell(data: NftAuctionV2Data): Cell; /** * Creates an `NftAuctionV2` instance from an address * @param address - The address to create from * @returns A new `NftAuctionV2` instance */ static createFromAddress(address: Address): NftAuctionV2; /** * Creates an `NftAuctionV2` instance from configuration data * @param config - The configuration data for creating the instance * @param workchain - The workchain ID (default: 0) * @returns A new `NftAuctionV2` instance */ static createFromConfig(config: NftAuctionV2Data, workchain?: number): NftAuctionV2; /** * 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 cancel command to the contract * @param provider - The contract provider * @param via - The sender of the cancel command * @param params - The parameters for the cancel command */ sendCancel(provider: ContractProvider, via: Sender, params: { value: bigint; }): Promise; /** * Sends a stop command to the contract * @param provider - The contract provider * @param via - The sender of the stop command * @param params - The parameters for the stop command */ sendStop(provider: ContractProvider, via: Sender, params: { value: bigint; }): Promise; /** * Retrieves the sale data from the contract * @param provider - The contract provider * @returns The sale data */ getSaleData(provider: ContractProvider): Promise; } //# sourceMappingURL=NftAuctionV2.d.ts.map