import { type Address, type Cell, type Contract, type ContractProvider, type Sender } from 'ton-core'; export type NftAuctionData = { 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 NftAuctionGetSaleData = { end: boolean; 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 */ export declare class NftAuction implements Contract { readonly address: Address; readonly init?: { code: Cell; data: Cell; } | undefined; static code: Cell; /** * Creates an `NftAuction` instance from an address and initialization data * @param address - The address of the contract * @param init - The initialization data * @returns A new `NftAuction` 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: NftAuctionData): Cell; /** * Creates an `NftAuction` instance from an address * @param address - The address to create from * @returns A new `NftAuction` instance */ static createFromAddress(address: Address): NftAuction; /** * Creates an `NftAuction` instance from configuration data * @param config - The configuration data for creating the instance * @param workchain - The workchain ID (default: 0) * @returns A new `NftAuction` instance */ static createFromConfig(config: NftAuctionData, 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 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; /** * Sends a repeat end auction command to the contract * @param provider - The contract provider * @param via - The sender of the repeat end auction command * @param params - The parameters for the repeat end auction command */ sendRepeatEndAuction(provider: ContractProvider, via: Sender, params: { value: bigint; }): Promise; /** * Sends an emergency message to the contract * @param provider - The contract provider * @param via - The sender of the emergency message * @param params - The parameters for the emergency message */ sendEmergencyMessage(provider: ContractProvider, via: Sender, params: { value: bigint; marketplaceAddress: Address; coins: bigint; }): Promise; /** * Retrieves the sale data from the contract * @param provider - The contract provider * @returns The sale data */ getSaleData(provider: ContractProvider): Promise; } //# sourceMappingURL=NftAuction.d.ts.map