import { KeypairLike, Operation } from "@honeycomb-protocol/hive-control"; import { PublicKey } from "@solana/web3.js"; import { BurnerCriteria, Creator, SwitchArt } from "../generated"; import type { BrightSwitch } from "../handler"; /** * Represents the arguments for creating a switch. */ export interface InitSwitchArgs { /** THE NAME OF THE NFTS THAT WILL BE MINTED. */ name: string; /** THE SYMBOL OF THE NFTS THAT WILL BE MINTED. */ cost: number; /** THE TIME IN UNIX TIMESTAMP WHEN THE SWITCH WILL START. */ startedAt: number; /** THE TIME IN UNIX TIMESTAMP WHEN THE SWITCH WILL END. */ endedAt: number; /** THE MAXIMUM NUMBER OF NFTS THAT CAN BE MINTED. */ limit: number; /** THE SUPPLY OF THE TREE YOU WANT TO CREATE. BY DEFAULT It's equal to the limit of the switch */ supply?: number; /** THE ART THAT WILL BE USED TO CREATE THE NFTS. */ art: Omit; /** THE BURNERS THAT WILL BE USED TO CREATE THE NFTS. */ burners: BurnerCriteria[]; /** THE CREATORS THAT WILL BE USED TO CREATE THE NFTS. */ creators: Creator[]; } export interface CreateSwitchIxArgs { artist_wallet: KeypairLike | PublicKey; switch: InitSwitchArgs; payer?: KeypairLike | PublicKey; useTree?: PublicKey; useColection?: PublicKey; collection: { name: string; symbol: string; uri: string; }; } /** * Create a switch and associated collection. * @param args - The arguments for creating a switch. * @param brightswitch - The BrightSwitch instance to use. * @returns An object containing the operation, switch address, and mint address. */ export declare const createSwitchIx: (args: CreateSwitchIxArgs, brightswitch: BrightSwitch) => Promise<{ operation: Operation; switch: PublicKey; mint: PublicKey; }>; //# sourceMappingURL=createSwitch.d.ts.map