/** * 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 Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from "@solana/kit"; import { SCOPE_PROGRAM_ADDRESS } from "../programs"; export declare const SET_ADMIN_CACHED_DISCRIMINATOR: Uint8Array; export declare function getSetAdminCachedDiscriminatorBytes(): ReadonlyUint8Array; export type SetAdminCachedInstruction = string, TAccountConfiguration extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdmin extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAdmin, TAccountConfiguration extends string ? WritableAccount : TAccountConfiguration, ...TRemainingAccounts ]>; export type SetAdminCachedInstructionData = { discriminator: ReadonlyUint8Array; newAdmin: Address; feedName: string; }; export type SetAdminCachedInstructionDataArgs = { newAdmin: Address; feedName: string; }; export declare function getSetAdminCachedInstructionDataEncoder(): Encoder; export declare function getSetAdminCachedInstructionDataDecoder(): Decoder; export declare function getSetAdminCachedInstructionDataCodec(): Codec; export type SetAdminCachedInput = { admin: TransactionSigner; configuration: Address; newAdmin: SetAdminCachedInstructionDataArgs["newAdmin"]; feedName: SetAdminCachedInstructionDataArgs["feedName"]; }; export declare function getSetAdminCachedInstruction(input: SetAdminCachedInput, config?: { programAddress?: TProgramAddress; }): SetAdminCachedInstruction; export type ParsedSetAdminCachedInstruction = { programAddress: Address; accounts: { admin: TAccountMetas[0]; configuration: TAccountMetas[1]; }; data: SetAdminCachedInstructionData; }; export declare function parseSetAdminCachedInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetAdminCachedInstruction; //# sourceMappingURL=setAdminCached.d.ts.map