/**
 * 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 IAccountSignerMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
import { TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS } from '../programs';
export declare const SET_MIN_FEE_DISCRIMINATOR: Uint8Array;
export declare function getSetMinFeeDiscriminatorBytes(): ReadonlyUint8Array;
export type SetMinFeeInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS, TAccountMinFeeController extends string | IAccountMeta<string> = string, TAccountTokenMessenger extends string | IAccountMeta<string> = string, TAccountEventAuthority extends string | IAccountMeta<string> = string, TAccountProgram extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountMinFeeController extends string ? ReadonlySignerAccount<TAccountMinFeeController> & IAccountSignerMeta<TAccountMinFeeController> : TAccountMinFeeController,
    TAccountTokenMessenger extends string ? WritableAccount<TAccountTokenMessenger> : TAccountTokenMessenger,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type SetMinFeeInstructionData = {
    discriminator: ReadonlyUint8Array;
    newMinFee: number;
};
export type SetMinFeeInstructionDataArgs = {
    newMinFee: number;
};
export declare function getSetMinFeeInstructionDataEncoder(): Encoder<SetMinFeeInstructionDataArgs>;
export declare function getSetMinFeeInstructionDataDecoder(): Decoder<SetMinFeeInstructionData>;
export declare function getSetMinFeeInstructionDataCodec(): Codec<SetMinFeeInstructionDataArgs, SetMinFeeInstructionData>;
export type SetMinFeeAsyncInput<TAccountMinFeeController extends string = string, TAccountTokenMessenger extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    minFeeController: TransactionSigner<TAccountMinFeeController>;
    tokenMessenger: Address<TAccountTokenMessenger>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newMinFee: SetMinFeeInstructionDataArgs['newMinFee'];
};
export declare function getSetMinFeeInstructionAsync<TAccountMinFeeController extends string, TAccountTokenMessenger extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: SetMinFeeAsyncInput<TAccountMinFeeController, TAccountTokenMessenger, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<SetMinFeeInstruction<TProgramAddress, TAccountMinFeeController, TAccountTokenMessenger, TAccountEventAuthority, TAccountProgram>>;
export type SetMinFeeInput<TAccountMinFeeController extends string = string, TAccountTokenMessenger extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    minFeeController: TransactionSigner<TAccountMinFeeController>;
    tokenMessenger: Address<TAccountTokenMessenger>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newMinFee: SetMinFeeInstructionDataArgs['newMinFee'];
};
export declare function getSetMinFeeInstruction<TAccountMinFeeController extends string, TAccountTokenMessenger extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: SetMinFeeInput<TAccountMinFeeController, TAccountTokenMessenger, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): SetMinFeeInstruction<TProgramAddress, TAccountMinFeeController, TAccountTokenMessenger, TAccountEventAuthority, TAccountProgram>;
export type ParsedSetMinFeeInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        minFeeController: TAccountMetas[0];
        tokenMessenger: TAccountMetas[1];
        eventAuthority: TAccountMetas[2];
        program: TAccountMetas[3];
    };
    data: SetMinFeeInstructionData;
};
export declare function parseSetMinFeeInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedSetMinFeeInstruction<TProgram, TAccountMetas>;
