/**
 * 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 Address, type Codec, type Decoder, type Encoder, type IAccountMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, 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(): import("@solana/kit").ReadonlyUint8Array;
export declare const HARVEST_WITHHELD_TOKENS_TO_MINT_TRANSFER_FEE_DISCRIMINATOR = 4;
export declare function getHarvestWithheldTokensToMintTransferFeeDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array;
export type HarvestWithheldTokensToMintInstruction<TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, TAccountMint extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountMint extends string ? WritableAccount<TAccountMint> : TAccountMint,
    ...TRemainingAccounts
]>;
export type HarvestWithheldTokensToMintInstructionData = {
    discriminator: number;
    transferFeeDiscriminator: number;
};
export type HarvestWithheldTokensToMintInstructionDataArgs = {};
export declare function getHarvestWithheldTokensToMintInstructionDataEncoder(): Encoder<HarvestWithheldTokensToMintInstructionDataArgs>;
export declare function getHarvestWithheldTokensToMintInstructionDataDecoder(): Decoder<HarvestWithheldTokensToMintInstructionData>;
export declare function getHarvestWithheldTokensToMintInstructionDataCodec(): Codec<HarvestWithheldTokensToMintInstructionDataArgs, HarvestWithheldTokensToMintInstructionData>;
export type HarvestWithheldTokensToMintInput<TAccountMint extends string = string> = {
    /** The token mint. */
    mint: Address<TAccountMint>;
    sources: Array<Address>;
};
export declare function getHarvestWithheldTokensToMintInstruction<TAccountMint extends string, TProgramAddress extends Address = typeof TOKEN_2022_PROGRAM_ADDRESS>(input: HarvestWithheldTokensToMintInput<TAccountMint>, config?: {
    programAddress?: TProgramAddress;
}): HarvestWithheldTokensToMintInstruction<TProgramAddress, TAccountMint>;
export type ParsedHarvestWithheldTokensToMintInstruction<TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        /** The token mint. */
        mint: TAccountMetas[0];
    };
    data: HarvestWithheldTokensToMintInstructionData;
};
export declare function parseHarvestWithheldTokensToMintInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedHarvestWithheldTokensToMintInstruction<TProgram, TAccountMetas>;
//# sourceMappingURL=harvestWithheldTokensToMint.d.ts.map