/** * 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 WritableAccount, type WritableSignerAccount } from "@solana/kit"; import { YVAULTS_PROGRAM_ADDRESS } from "../programs"; export declare const INITIALIZE_GLOBAL_CONFIG_DISCRIMINATOR: Uint8Array; export declare function getInitializeGlobalConfigDiscriminatorBytes(): ReadonlyUint8Array; export type InitializeGlobalConfigInstruction = string, TAccountGlobalConfig extends string | AccountMeta = string, TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdminAuthority extends string ? WritableSignerAccount & AccountSignerMeta : TAccountAdminAuthority, TAccountGlobalConfig extends string ? WritableAccount : TAccountGlobalConfig, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, ...TRemainingAccounts ]>; export type InitializeGlobalConfigInstructionData = { discriminator: ReadonlyUint8Array; }; export type InitializeGlobalConfigInstructionDataArgs = {}; export declare function getInitializeGlobalConfigInstructionDataEncoder(): FixedSizeEncoder; export declare function getInitializeGlobalConfigInstructionDataDecoder(): FixedSizeDecoder; export declare function getInitializeGlobalConfigInstructionDataCodec(): FixedSizeCodec; export type InitializeGlobalConfigInput = { adminAuthority: TransactionSigner; globalConfig: Address; systemProgram?: Address; }; export declare function getInitializeGlobalConfigInstruction(input: InitializeGlobalConfigInput, config?: { programAddress?: TProgramAddress; }): InitializeGlobalConfigInstruction; export type ParsedInitializeGlobalConfigInstruction = { programAddress: Address; accounts: { adminAuthority: TAccountMetas[0]; globalConfig: TAccountMetas[1]; systemProgram: TAccountMetas[2]; }; data: InitializeGlobalConfigInstructionData; }; export declare function parseInitializeGlobalConfigInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializeGlobalConfigInstruction; //# sourceMappingURL=initializeGlobalConfig.d.ts.map