/**
 * 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 { WHIRLPOOL_PROGRAM_ADDRESS } from '../programs';
export declare const SET_PROTOCOL_FEE_RATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getSetProtocolFeeRateDiscriminatorBytes(): ReadonlyUint8Array;
export type SetProtocolFeeRateInstruction<TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS, TAccountWhirlpoolsConfig extends string | AccountMeta<string> = string, TAccountWhirlpool extends string | AccountMeta<string> = string, TAccountFeeAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountWhirlpoolsConfig extends string ? ReadonlyAccount<TAccountWhirlpoolsConfig> : TAccountWhirlpoolsConfig, TAccountWhirlpool extends string ? WritableAccount<TAccountWhirlpool> : TAccountWhirlpool, TAccountFeeAuthority extends string ? ReadonlySignerAccount<TAccountFeeAuthority> & AccountSignerMeta<TAccountFeeAuthority> : TAccountFeeAuthority, ...TRemainingAccounts]>;
export type SetProtocolFeeRateInstructionData = {
    discriminator: ReadonlyUint8Array;
    protocolFeeRate: number;
};
export type SetProtocolFeeRateInstructionDataArgs = {
    protocolFeeRate: number;
};
export declare function getSetProtocolFeeRateInstructionDataEncoder(): FixedSizeEncoder<SetProtocolFeeRateInstructionDataArgs>;
export declare function getSetProtocolFeeRateInstructionDataDecoder(): FixedSizeDecoder<SetProtocolFeeRateInstructionData>;
export declare function getSetProtocolFeeRateInstructionDataCodec(): FixedSizeCodec<SetProtocolFeeRateInstructionDataArgs, SetProtocolFeeRateInstructionData>;
export type SetProtocolFeeRateInput<TAccountWhirlpoolsConfig extends string = string, TAccountWhirlpool extends string = string, TAccountFeeAuthority extends string = string> = {
    whirlpoolsConfig: Address<TAccountWhirlpoolsConfig>;
    whirlpool: Address<TAccountWhirlpool>;
    feeAuthority: TransactionSigner<TAccountFeeAuthority>;
    protocolFeeRate: SetProtocolFeeRateInstructionDataArgs["protocolFeeRate"];
};
export declare function getSetProtocolFeeRateInstruction<TAccountWhirlpoolsConfig extends string, TAccountWhirlpool extends string, TAccountFeeAuthority extends string, TProgramAddress extends Address = typeof WHIRLPOOL_PROGRAM_ADDRESS>(input: SetProtocolFeeRateInput<TAccountWhirlpoolsConfig, TAccountWhirlpool, TAccountFeeAuthority>, config?: {
    programAddress?: TProgramAddress;
}): SetProtocolFeeRateInstruction<TProgramAddress, TAccountWhirlpoolsConfig, TAccountWhirlpool, TAccountFeeAuthority>;
export type ParsedSetProtocolFeeRateInstruction<TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        whirlpoolsConfig: TAccountMetas[0];
        whirlpool: TAccountMetas[1];
        feeAuthority: TAccountMetas[2];
    };
    data: SetProtocolFeeRateInstructionData;
};
export declare function parseSetProtocolFeeRateInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetProtocolFeeRateInstruction<TProgram, TAccountMetas>;
//# sourceMappingURL=setProtocolFeeRate.d.ts.map