/**
 * 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 ReadonlyUint8Array, type TransactionSigner, type WritableSignerAccount } from '@solana/kit';
import { WHIRLPOOL_PROGRAM_ADDRESS } from '../programs';
export declare const INITIALIZE_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getInitializeConfigDiscriminatorBytes(): ReadonlyUint8Array;
export type InitializeConfigInstruction<TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountFunder extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountConfig extends string ? WritableSignerAccount<TAccountConfig> & AccountSignerMeta<TAccountConfig> : TAccountConfig, TAccountFunder extends string ? WritableSignerAccount<TAccountFunder> & AccountSignerMeta<TAccountFunder> : TAccountFunder, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
export type InitializeConfigInstructionData = {
    discriminator: ReadonlyUint8Array;
    feeAuthority: Address;
    collectProtocolFeesAuthority: Address;
    rewardEmissionsSuperAuthority: Address;
    defaultProtocolFeeRate: number;
};
export type InitializeConfigInstructionDataArgs = {
    feeAuthority: Address;
    collectProtocolFeesAuthority: Address;
    rewardEmissionsSuperAuthority: Address;
    defaultProtocolFeeRate: number;
};
export declare function getInitializeConfigInstructionDataEncoder(): FixedSizeEncoder<InitializeConfigInstructionDataArgs>;
export declare function getInitializeConfigInstructionDataDecoder(): FixedSizeDecoder<InitializeConfigInstructionData>;
export declare function getInitializeConfigInstructionDataCodec(): FixedSizeCodec<InitializeConfigInstructionDataArgs, InitializeConfigInstructionData>;
export type InitializeConfigInput<TAccountConfig extends string = string, TAccountFunder extends string = string, TAccountSystemProgram extends string = string> = {
    config: TransactionSigner<TAccountConfig>;
    funder: TransactionSigner<TAccountFunder>;
    systemProgram?: Address<TAccountSystemProgram>;
    feeAuthority: InitializeConfigInstructionDataArgs["feeAuthority"];
    collectProtocolFeesAuthority: InitializeConfigInstructionDataArgs["collectProtocolFeesAuthority"];
    rewardEmissionsSuperAuthority: InitializeConfigInstructionDataArgs["rewardEmissionsSuperAuthority"];
    defaultProtocolFeeRate: InitializeConfigInstructionDataArgs["defaultProtocolFeeRate"];
};
export declare function getInitializeConfigInstruction<TAccountConfig extends string, TAccountFunder extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof WHIRLPOOL_PROGRAM_ADDRESS>(input: InitializeConfigInput<TAccountConfig, TAccountFunder, TAccountSystemProgram>, config?: {
    programAddress?: TProgramAddress;
}): InitializeConfigInstruction<TProgramAddress, TAccountConfig, TAccountFunder, TAccountSystemProgram>;
export type ParsedInitializeConfigInstruction<TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        config: TAccountMetas[0];
        funder: TAccountMetas[1];
        systemProgram: TAccountMetas[2];
    };
    data: InitializeConfigInstructionData;
};
export declare function parseInitializeConfigInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializeConfigInstruction<TProgram, TAccountMetas>;
//# sourceMappingURL=initializeConfig.d.ts.map