/** * 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 { YVAULTS_PROGRAM_ADDRESS } from "../programs"; export declare const UPDATE_STRATEGY_CONFIG_DISCRIMINATOR: Uint8Array; export declare function getUpdateStrategyConfigDiscriminatorBytes(): ReadonlyUint8Array; export type UpdateStrategyConfigInstruction = string, TAccountNewAccount extends string | AccountMeta = string, TAccountStrategy extends string | AccountMeta = string, TAccountGlobalConfig extends string | AccountMeta = string, TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdminAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAdminAuthority, TAccountNewAccount extends string ? ReadonlyAccount : TAccountNewAccount, TAccountStrategy extends string ? WritableAccount : TAccountStrategy, TAccountGlobalConfig extends string ? ReadonlyAccount : TAccountGlobalConfig, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, ...TRemainingAccounts ]>; export type UpdateStrategyConfigInstructionData = { discriminator: ReadonlyUint8Array; mode: number; value: ReadonlyUint8Array; }; export type UpdateStrategyConfigInstructionDataArgs = { mode: number; value: ReadonlyUint8Array; }; export declare function getUpdateStrategyConfigInstructionDataEncoder(): FixedSizeEncoder; export declare function getUpdateStrategyConfigInstructionDataDecoder(): FixedSizeDecoder; export declare function getUpdateStrategyConfigInstructionDataCodec(): FixedSizeCodec; export type UpdateStrategyConfigInput = { adminAuthority: TransactionSigner; newAccount: Address; strategy: Address; globalConfig: Address; systemProgram?: Address; mode: UpdateStrategyConfigInstructionDataArgs["mode"]; value: UpdateStrategyConfigInstructionDataArgs["value"]; }; export declare function getUpdateStrategyConfigInstruction(input: UpdateStrategyConfigInput, config?: { programAddress?: TProgramAddress; }): UpdateStrategyConfigInstruction; export type ParsedUpdateStrategyConfigInstruction = { programAddress: Address; accounts: { adminAuthority: TAccountMetas[0]; newAccount: TAccountMetas[1]; strategy: TAccountMetas[2]; globalConfig: TAccountMetas[3]; systemProgram: TAccountMetas[4]; }; data: UpdateStrategyConfigInstructionData; }; export declare function parseUpdateStrategyConfigInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedUpdateStrategyConfigInstruction; //# sourceMappingURL=updateStrategyConfig.d.ts.map