/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit'; import { MPL_BUBBLEGUM_PROGRAM_ADDRESS } from '../programs'; export declare const CANCEL_REDEEM_DISCRIMINATOR: Uint8Array; export declare function getCancelRedeemDiscriminatorBytes(): ReadonlyUint8Array; export type CancelRedeemInstruction = string, TAccountLeafOwner extends string | AccountMeta = string, TAccountMerkleTree extends string | AccountMeta = string, TAccountVoucher extends string | AccountMeta = string, TAccountLogWrapper extends string | AccountMeta = 'noopb9bkMVfRPU8AsbpTUg8AQkHtKwMYZiFUjNRtMmV', TAccountCompressionProgram extends string | AccountMeta = 'cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK', TAccountSystemProgram extends string | AccountMeta = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountTreeConfig extends string ? ReadonlyAccount : TAccountTreeConfig, TAccountLeafOwner extends string ? WritableSignerAccount & AccountSignerMeta : TAccountLeafOwner, TAccountMerkleTree extends string ? WritableAccount : TAccountMerkleTree, TAccountVoucher extends string ? WritableAccount : TAccountVoucher, TAccountLogWrapper extends string ? ReadonlyAccount : TAccountLogWrapper, TAccountCompressionProgram extends string ? ReadonlyAccount : TAccountCompressionProgram, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, ...TRemainingAccounts ]>; export type CancelRedeemInstructionData = { discriminator: ReadonlyUint8Array; root: ReadonlyUint8Array; }; export type CancelRedeemInstructionDataArgs = { root: ReadonlyUint8Array; }; export declare function getCancelRedeemInstructionDataEncoder(): FixedSizeEncoder; export declare function getCancelRedeemInstructionDataDecoder(): FixedSizeDecoder; export declare function getCancelRedeemInstructionDataCodec(): FixedSizeCodec; export type CancelRedeemAsyncInput = { treeConfig?: Address; leafOwner: TransactionSigner; merkleTree: Address; voucher: Address; logWrapper?: Address; compressionProgram?: Address; systemProgram?: Address; root: CancelRedeemInstructionDataArgs['root']; }; export declare function getCancelRedeemInstructionAsync(input: CancelRedeemAsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; export type CancelRedeemInput = { treeConfig: Address; leafOwner: TransactionSigner; merkleTree: Address; voucher: Address; logWrapper?: Address; compressionProgram?: Address; systemProgram?: Address; root: CancelRedeemInstructionDataArgs['root']; }; export declare function getCancelRedeemInstruction(input: CancelRedeemInput, config?: { programAddress?: TProgramAddress; }): CancelRedeemInstruction; export type ParsedCancelRedeemInstruction = { programAddress: Address; accounts: { treeConfig: TAccountMetas[0]; leafOwner: TAccountMetas[1]; merkleTree: TAccountMetas[2]; voucher: TAccountMetas[3]; logWrapper: TAccountMetas[4]; compressionProgram: TAccountMetas[5]; systemProgram: TAccountMetas[6]; }; data: CancelRedeemInstructionData; }; export declare function parseCancelRedeemInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedCancelRedeemInstruction; //# sourceMappingURL=cancelRedeem.d.ts.map