///
import * as web3 from '@solana/web3.js';
import * as beet from '@metaplex-foundation/beet';
import { CandyMachineData } from '../types/CandyMachineData';
export declare type CandyMachineArgs = {
authority: web3.PublicKey;
wallet: web3.PublicKey;
tokenMint: beet.COption;
config: web3.PublicKey;
data: CandyMachineData;
itemsRedeemed: beet.bignum;
bump: number;
};
export declare class CandyMachine implements CandyMachineArgs {
readonly authority: web3.PublicKey;
readonly wallet: web3.PublicKey;
readonly tokenMint: beet.COption;
readonly config: web3.PublicKey;
readonly data: CandyMachineData;
readonly itemsRedeemed: beet.bignum;
readonly bump: number;
private constructor();
static fromArgs(args: CandyMachineArgs): CandyMachine;
static fromAccountInfo(accountInfo: web3.AccountInfo, offset?: number): [CandyMachine, number];
static fromAccountAddress(connection: web3.Connection, address: web3.PublicKey): Promise;
static deserialize(buf: Buffer, offset?: number): [CandyMachine, number];
serialize(): [Buffer, number];
static byteSize(args: CandyMachineArgs): number;
static getMinimumBalanceForRentExemption(args: CandyMachineArgs, connection: web3.Connection, commitment?: web3.Commitment): Promise;
pretty(): {
authority: string;
wallet: string;
tokenMint: beet.COption;
config: string;
data: CandyMachineData;
itemsRedeemed: beet.bignum;
bump: number;
};
}
export declare const candyMachineBeet: beet.FixableBeetStruct;