/**
 * 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 ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from "@solana/kit";
import { FARMS_PROGRAM_ADDRESS } from "../programs";
export declare const UPDATE_GLOBAL_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getUpdateGlobalConfigDiscriminatorBytes(): ReadonlyUint8Array;
export type UpdateGlobalConfigInstruction<TProgram extends string = typeof FARMS_PROGRAM_ADDRESS, TAccountGlobalAdmin extends string | AccountMeta<string> = string, TAccountGlobalConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
    TAccountGlobalAdmin extends string ? ReadonlySignerAccount<TAccountGlobalAdmin> & AccountSignerMeta<TAccountGlobalAdmin> : TAccountGlobalAdmin,
    TAccountGlobalConfig extends string ? WritableAccount<TAccountGlobalConfig> : TAccountGlobalConfig,
    ...TRemainingAccounts
]>;
export type UpdateGlobalConfigInstructionData = {
    discriminator: ReadonlyUint8Array;
    mode: number;
    value: ReadonlyUint8Array;
};
export type UpdateGlobalConfigInstructionDataArgs = {
    mode: number;
    value: ReadonlyUint8Array;
};
export declare function getUpdateGlobalConfigInstructionDataEncoder(): FixedSizeEncoder<UpdateGlobalConfigInstructionDataArgs>;
export declare function getUpdateGlobalConfigInstructionDataDecoder(): FixedSizeDecoder<UpdateGlobalConfigInstructionData>;
export declare function getUpdateGlobalConfigInstructionDataCodec(): FixedSizeCodec<UpdateGlobalConfigInstructionDataArgs, UpdateGlobalConfigInstructionData>;
export type UpdateGlobalConfigInput<TAccountGlobalAdmin extends string = string, TAccountGlobalConfig extends string = string> = {
    globalAdmin: TransactionSigner<TAccountGlobalAdmin>;
    globalConfig: Address<TAccountGlobalConfig>;
    mode: UpdateGlobalConfigInstructionDataArgs["mode"];
    value: UpdateGlobalConfigInstructionDataArgs["value"];
};
export declare function getUpdateGlobalConfigInstruction<TAccountGlobalAdmin extends string, TAccountGlobalConfig extends string, TProgramAddress extends Address = typeof FARMS_PROGRAM_ADDRESS>(input: UpdateGlobalConfigInput<TAccountGlobalAdmin, TAccountGlobalConfig>, config?: {
    programAddress?: TProgramAddress;
}): UpdateGlobalConfigInstruction<TProgramAddress, TAccountGlobalAdmin, TAccountGlobalConfig>;
export type ParsedUpdateGlobalConfigInstruction<TProgram extends string = typeof FARMS_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        globalAdmin: TAccountMetas[0];
        globalConfig: TAccountMetas[1];
    };
    data: UpdateGlobalConfigInstructionData;
};
export declare function parseUpdateGlobalConfigInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateGlobalConfigInstruction<TProgram, TAccountMetas>;
//# sourceMappingURL=updateGlobalConfig.d.ts.map