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 "Mint Currency" operation. * @category Types */ type CreateMintCurrencyOperationArgs = { amount: number; holderAccount: HplHolderAccount; programId?: web3.PublicKey; }; /** * Creates a "Mint Currency" operation to mint new currency tokens and add them to the specified holder account. * @category Operation Builders * @param honeycomb The Honeycomb instance. * @param args The arguments for creating the "Mint Currency" operation. * @returns An object containing the "Mint Currency" operation. * @example * const honeycomb = new Honeycomb(...); // Initialize Honeycomb instance * const currency = ...; // HplCurrency instance * const holderAccount = ...; // HplHolderAccount instance * const amount = 100; // Amount to mint * * // Create a "Mint Currency" operation for the holder account and amount * const operationArgs: CreateMintCurrencyOperationArgs = { * holderAccount, * amount, * }; * const { operation } = await createMintCurrencyOperation(honeycomb, operationArgs); * operation.send(); */ export declare function createMintCurrencyOperation(honeycomb: Honeycomb, args: CreateMintCurrencyOperationArgs): Promise<{ operation: Operation; }>; export {};