import { Borsh, Transaction, StringPublicKey } from '@metaplex-foundation/mpl-core'; import { PublicKey, TransactionCtorFields } from '@solana/web3.js'; import BN from 'bn.js'; import { PriceFloor } from '../accounts/Auction'; export declare enum WinnerLimitType { Unlimited = 0, Capped = 1 } declare type WinnerLimitArgs = { type: WinnerLimitType; usize: BN; }; export declare class WinnerLimit extends Borsh.Data { static readonly SCHEMA: Map; type: WinnerLimitType; usize: BN; } export declare type Args = { winners: WinnerLimit; endAuctionAt: BN | null; auctionGap: BN | null; tokenMint: StringPublicKey; authority: StringPublicKey; resource: StringPublicKey; priceFloor: PriceFloor; tickSize: BN | null; gapTickSizePercentage: number | null; }; export declare class CreateAuctionArgs extends Borsh.Data { static readonly SCHEMA: Map; instruction: number; winners: WinnerLimit; endAuctionAt?: BN; auctionGap?: BN; tokenMint: StringPublicKey; authority: StringPublicKey; resource: StringPublicKey; priceFloor: PriceFloor; tickSize?: BN; gapTickSizePercentage?: number; } declare type CreateAuctionParams = { auction: PublicKey; auctionExtended: PublicKey; creator: PublicKey; args: Args; }; export declare class CreateAuction extends Transaction { constructor(options: TransactionCtorFields, params: CreateAuctionParams); } export {};