/** * 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 ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from "@solana/kit"; import { YVAULTS_PROGRAM_ADDRESS } from "../programs"; export declare const UPDATE_STRATEGY_ADMIN_DISCRIMINATOR: Uint8Array; export declare function getUpdateStrategyAdminDiscriminatorBytes(): ReadonlyUint8Array; export type UpdateStrategyAdminInstruction = string, TAccountStrategy extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountPendingAdmin extends string ? WritableSignerAccount & AccountSignerMeta : TAccountPendingAdmin, TAccountStrategy extends string ? WritableAccount : TAccountStrategy, ...TRemainingAccounts ]>; export type UpdateStrategyAdminInstructionData = { discriminator: ReadonlyUint8Array; }; export type UpdateStrategyAdminInstructionDataArgs = {}; export declare function getUpdateStrategyAdminInstructionDataEncoder(): FixedSizeEncoder; export declare function getUpdateStrategyAdminInstructionDataDecoder(): FixedSizeDecoder; export declare function getUpdateStrategyAdminInstructionDataCodec(): FixedSizeCodec; export type UpdateStrategyAdminInput = { pendingAdmin: TransactionSigner; strategy: Address; }; export declare function getUpdateStrategyAdminInstruction(input: UpdateStrategyAdminInput, config?: { programAddress?: TProgramAddress; }): UpdateStrategyAdminInstruction; export type ParsedUpdateStrategyAdminInstruction = { programAddress: Address; accounts: { pendingAdmin: TAccountMetas[0]; strategy: TAccountMetas[1]; }; data: UpdateStrategyAdminInstructionData; }; export declare function parseUpdateStrategyAdminInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedUpdateStrategyAdminInstruction; //# sourceMappingURL=updateStrategyAdmin.d.ts.map