/** * 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 APPROVE_ADMIN_CACHED_DISCRIMINATOR: Uint8Array; export declare function getApproveAdminCachedDiscriminatorBytes(): ReadonlyUint8Array; export type ApproveAdminCachedInstruction = string, TAccountConfiguration extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdminCached extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAdminCached, TAccountConfiguration extends string ? WritableAccount : TAccountConfiguration, ...TRemainingAccounts ]>; export type ApproveAdminCachedInstructionData = { discriminator: ReadonlyUint8Array; feedName: string; }; export type ApproveAdminCachedInstructionDataArgs = { feedName: string; }; export declare function getApproveAdminCachedInstructionDataEncoder(): Encoder; export declare function getApproveAdminCachedInstructionDataDecoder(): Decoder; export declare function getApproveAdminCachedInstructionDataCodec(): Codec; export type ApproveAdminCachedInput = { adminCached: TransactionSigner; configuration: Address; feedName: ApproveAdminCachedInstructionDataArgs["feedName"]; }; export declare function getApproveAdminCachedInstruction(input: ApproveAdminCachedInput, config?: { programAddress?: TProgramAddress; }): ApproveAdminCachedInstruction; export type ParsedApproveAdminCachedInstruction = { programAddress: Address; accounts: { adminCached: TAccountMetas[0]; configuration: TAccountMetas[1]; }; data: ApproveAdminCachedInstructionData; }; export declare function parseApproveAdminCachedInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedApproveAdminCachedInstruction; //# sourceMappingURL=approveAdminCached.d.ts.map