/** * 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 ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const ENABLE_HARVEST_TO_MINT_DISCRIMINATOR = 37; export declare function getEnableHarvestToMintDiscriminatorBytes(): ReadonlyUint8Array; export declare const ENABLE_HARVEST_TO_MINT_CONFIDENTIAL_TRANSFER_FEE_DISCRIMINATOR = 4; export declare function getEnableHarvestToMintConfidentialTransferFeeDiscriminatorBytes(): ReadonlyUint8Array; export type EnableHarvestToMintInstruction = string, TAccountAuthority extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountMint extends string ? WritableAccount : TAccountMint, TAccountAuthority extends string ? ReadonlyAccount : TAccountAuthority, ...TRemainingAccounts ]>; export type EnableHarvestToMintInstructionData = { discriminator: number; confidentialTransferFeeDiscriminator: number; }; export type EnableHarvestToMintInstructionDataArgs = {}; export declare function getEnableHarvestToMintInstructionDataEncoder(): FixedSizeEncoder; export declare function getEnableHarvestToMintInstructionDataDecoder(): FixedSizeDecoder; export declare function getEnableHarvestToMintInstructionDataCodec(): FixedSizeCodec; export type EnableHarvestToMintInput = { /** The token mint. */ mint: Address; /** The confidential transfer fee authority */ authority: Address | TransactionSigner; multiSigners?: Array; }; export declare function getEnableHarvestToMintInstruction(input: EnableHarvestToMintInput, config?: { programAddress?: TProgramAddress; }): EnableHarvestToMintInstruction ? ReadonlySignerAccount & AccountSignerMeta : TAccountAuthority>; export type ParsedEnableHarvestToMintInstruction = { programAddress: Address; accounts: { /** The token mint. */ mint: TAccountMetas[0]; /** The confidential transfer fee authority */ authority: TAccountMetas[1]; }; data: EnableHarvestToMintInstructionData; }; export declare function parseEnableHarvestToMintInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedEnableHarvestToMintInstruction; //# sourceMappingURL=enableHarvestToMint.d.ts.map