/** * 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 DISABLE_HARVEST_TO_MINT_DISCRIMINATOR = 37; export declare function getDisableHarvestToMintDiscriminatorBytes(): ReadonlyUint8Array; export declare const DISABLE_HARVEST_TO_MINT_CONFIDENTIAL_TRANSFER_FEE_DISCRIMINATOR = 5; export declare function getDisableHarvestToMintConfidentialTransferFeeDiscriminatorBytes(): ReadonlyUint8Array; export type DisableHarvestToMintInstruction = 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 DisableHarvestToMintInstructionData = { discriminator: number; confidentialTransferFeeDiscriminator: number; }; export type DisableHarvestToMintInstructionDataArgs = {}; export declare function getDisableHarvestToMintInstructionDataEncoder(): FixedSizeEncoder; export declare function getDisableHarvestToMintInstructionDataDecoder(): FixedSizeDecoder; export declare function getDisableHarvestToMintInstructionDataCodec(): FixedSizeCodec; export type DisableHarvestToMintInput = { /** The token mint. */ mint: Address; /** The confidential transfer fee authority */ authority: Address | TransactionSigner; multiSigners?: Array; }; export declare function getDisableHarvestToMintInstruction(input: DisableHarvestToMintInput, config?: { programAddress?: TProgramAddress; }): DisableHarvestToMintInstruction ? ReadonlySignerAccount & AccountSignerMeta : TAccountAuthority>; export type ParsedDisableHarvestToMintInstruction = { programAddress: Address; accounts: { /** The token mint. */ mint: TAccountMetas[0]; /** The confidential transfer fee authority */ authority: TAccountMetas[1]; }; data: DisableHarvestToMintInstructionData; }; export declare function parseDisableHarvestToMintInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedDisableHarvestToMintInstruction; //# sourceMappingURL=disableHarvestToMint.d.ts.map