/** * 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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const HARVEST_WITHHELD_TOKENS_TO_MINT_DISCRIMINATOR = 26; export declare function getHarvestWithheldTokensToMintDiscriminatorBytes(): ReadonlyUint8Array; export declare const HARVEST_WITHHELD_TOKENS_TO_MINT_TRANSFER_FEE_DISCRIMINATOR = 4; export declare function getHarvestWithheldTokensToMintTransferFeeDiscriminatorBytes(): ReadonlyUint8Array; export type HarvestWithheldTokensToMintInstruction = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountMint extends string ? WritableAccount : TAccountMint, ...TRemainingAccounts ]>; export type HarvestWithheldTokensToMintInstructionData = { discriminator: number; transferFeeDiscriminator: number; }; export type HarvestWithheldTokensToMintInstructionDataArgs = {}; export declare function getHarvestWithheldTokensToMintInstructionDataEncoder(): FixedSizeEncoder; export declare function getHarvestWithheldTokensToMintInstructionDataDecoder(): FixedSizeDecoder; export declare function getHarvestWithheldTokensToMintInstructionDataCodec(): FixedSizeCodec; export type HarvestWithheldTokensToMintInput = { /** The token mint. */ mint: Address; sources: Array
; }; export declare function getHarvestWithheldTokensToMintInstruction(input: HarvestWithheldTokensToMintInput, config?: { programAddress?: TProgramAddress; }): HarvestWithheldTokensToMintInstruction; export type ParsedHarvestWithheldTokensToMintInstruction = { programAddress: Address; accounts: { /** The token mint. */ mint: TAccountMetas[0]; }; data: HarvestWithheldTokensToMintInstructionData; }; export declare function parseHarvestWithheldTokensToMintInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedHarvestWithheldTokensToMintInstruction; //# sourceMappingURL=harvestWithheldTokensToMint.d.ts.map