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 "Revoke Delegate" operation. * @category Types */ type CreateRevokeDelegateOperationArgs = { holderAccount: HplHolderAccount; programId?: web3.PublicKey; }; /** * Creates a "Revoke Delegate" operation to remove the delegation authority from the specified holder account. * @category Operation Builders * @param honeycomb The Honeycomb instance. * @param args The arguments for creating the "Revoke Delegate" operation. * @returns An object containing the "Revoke Delegate" operation. * @example * const honeycomb = new Honeycomb(...); // Initialize Honeycomb instance * const holderAccount = ...; // HplHolderAccount instance * * // Create a "Revoke Delegate" operation for the holder account * const operationArgs: CreateRevokeDelegateOperationArgs = { * holderAccount, * }; * const { operation } = await createRevokeDelegateOperation(honeycomb, operationArgs); * operation.send(); */ export declare function createRevokeDelegateOperation(honeycomb: Honeycomb, args: CreateRevokeDelegateOperationArgs): Promise<{ operation: Operation; }>; export {};