/** * 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 Address, type Codec, type Decoder, type Encoder, type IAccountMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type ReadonlyAccount } from '@solana/kit'; import { type UpgradeableLoaderStateAssertions, type UpgradeableLoaderStateAssertionsArgs } from '../../hooked'; import { LIGHTHOUSE_PROGRAM_ADDRESS } from '../programs'; import { LogLevel, type LogLevelArgs } from '../types'; export declare const ASSERT_UPGRADEABLE_LOADER_ACCOUNT_MULTI_DISCRIMINATOR = 14; export declare function getAssertUpgradeableLoaderAccountMultiDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array; export type AssertUpgradeableLoaderAccountMultiInstruction = string, TRemainingAccounts extends readonly IAccountMeta[] = []> = IInstruction & IInstructionWithData & IInstructionWithAccounts<[ TAccountTargetAccount extends string ? ReadonlyAccount : TAccountTargetAccount, ...TRemainingAccounts ]>; export type AssertUpgradeableLoaderAccountMultiInstructionData = { discriminator: number; logLevel: LogLevel; assertions: UpgradeableLoaderStateAssertions; }; export type AssertUpgradeableLoaderAccountMultiInstructionDataArgs = { logLevel?: LogLevelArgs; assertions: UpgradeableLoaderStateAssertionsArgs; }; export declare function getAssertUpgradeableLoaderAccountMultiInstructionDataEncoder(): Encoder; export declare function getAssertUpgradeableLoaderAccountMultiInstructionDataDecoder(): Decoder; export declare function getAssertUpgradeableLoaderAccountMultiInstructionDataCodec(): Codec; export type AssertUpgradeableLoaderAccountMultiInput = { /** Target account to be asserted */ targetAccount: Address; logLevel?: AssertUpgradeableLoaderAccountMultiInstructionDataArgs['logLevel']; assertions: AssertUpgradeableLoaderAccountMultiInstructionDataArgs['assertions']; }; export declare function getAssertUpgradeableLoaderAccountMultiInstruction(input: AssertUpgradeableLoaderAccountMultiInput, config?: { programAddress?: TProgramAddress; }): AssertUpgradeableLoaderAccountMultiInstruction; export type ParsedAssertUpgradeableLoaderAccountMultiInstruction = { programAddress: Address; accounts: { /** Target account to be asserted */ targetAccount: TAccountMetas[0]; }; data: AssertUpgradeableLoaderAccountMultiInstructionData; }; export declare function parseAssertUpgradeableLoaderAccountMultiInstruction(instruction: IInstruction & IInstructionWithAccounts & IInstructionWithData): ParsedAssertUpgradeableLoaderAccountMultiInstruction; //# sourceMappingURL=assertUpgradeableLoaderAccountMulti.d.ts.map