import { KeypairLike, Operation } from "@honeycomb-protocol/hive-control"; import { PublicKey } from "@solana/web3.js"; import { Creator } from "../generated"; import { Burner } from "../handler"; /** * Represents the arguments for burning an NFT mint. */ export type BurnCNFTIxArgs = { /** The tree authority of the CNFT. */ treeAuthority: PublicKey; /** The merkle tree of the CNFT. */ merkleTree: PublicKey; /** The merkle root of the CNFT. */ merkleRoot: PublicKey; /** The hash of the NFTs existing metadata. Retrieved from off-chain data store. */ dataHash: PublicKey; /** The token account public key (optional). */ tokenAcount?: PublicKey; /** The owner's public key or Keypair (optional). */ owner?: PublicKey | KeypairLike; /** The payer's public key or Keypair (optional). */ payer?: PublicKey | KeypairLike; /** A random number value, used to make the leaves unique. */ nonce: number; /** The index of the leaf node in the Merkle tree. */ index: number; proof: string[]; /** An array of CNFT's creators, contains each creator's public key, verified status, and share. */ creatorProof: Creator[] | PublicKey; }; /** * Burn a CNFT. * @param args - The arguments for burning a CNFT. * @param burner - The Burner instance for managing the burn operation. * @returns A promise representing the burn operation. */ export declare const BurnCNFTIx: (args: BurnCNFTIxArgs, burner: Burner) => Promise; //# sourceMappingURL=burnCnft.d.ts.map