import type { Client } from "../client"; import type { NightfallZkpKeys } from "../nightfall/types"; import type { TransactionResult } from "./types"; /** * Handle the flow for token burning transaction (tx) * FYI This is a Nightfall native transaction * * @async * @function createBurnTx * @param {NightfallZkpKeys} ownerZkpKeys Sender's set of Zero-knowledge proof keys * @param {Client} client An instance of Client to interact with the API * @param {string} tokenContractAddress Token address of the token to be burnt in L2 * @param {string} value The amount in Wei of the token to be burnt * @param {string} tokenId The tokenId of the token to be burnt * @param {string} fee Proposer payment in Wei for the tx in L2 * @param {string[] | []} [providedCommitments] Commitments to be burnt * @param {string[] | []} [providedCommitmentsFee] Commitments to be used to pay fee * @returns {Promise} */ export declare function createBurnTx(ownerZkpKeys: NightfallZkpKeys, client: Client, tokenContractAddress: string, value: string, tokenId: string, fee: string, providedCommitments?: string[] | [], providedCommitmentsFee?: string[] | []): Promise;