import * as web3 from "@solana/web3.js"; import { Honeycomb, Operation } from "@honeycomb-protocol/hive-control"; import { HplHolderAccount } from "../HplHolderAccount"; /** * Represents the arguments for creating a "Burn Currency" operation. */ type CreateBurnCurrencyOperationArgs = { amount: number; holderAccount: HplHolderAccount; programId?: web3.PublicKey; }; /** * Creates a "Burn Currency" operation for the given holder account, burning a specific * amount of tokens from the holder account. * @category Operation Builders * @param honeycomb The Honeycomb instance. * @param args The arguments for creating the "Burn Currency" operation. * @returns An object containing the "Burn Currency" operation. * @example * const honeycomb = new Honeycomb(...); // Initialize Honeycomb instance * const holderAccount = ...; // HplHolderAccount instance * const amountToBurn = 50; // Number of tokens to burn * * // Create a "Burn Currency" operation for the holder account * const operationArgs: CreateBurnCurrencyOperationArgs = { * amount: amountToBurn, * holderAccount, * }; * const { operation } = await createBurnCurrencyOperation(honeycomb, operationArgs); * operation.send(); */ export declare function createBurnCurrencyOperation(honeycomb: Honeycomb, args: CreateBurnCurrencyOperationArgs): Promise<{ operation: Operation; }>; export {};