/** * 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 { LIGHTHOUSE_PROGRAM_ADDRESS } from '../programs'; import { LogLevel, type LogLevelArgs, type UpgradeableLoaderStateAssertion, type UpgradeableLoaderStateAssertionArgs } from '../types'; export declare const ASSERT_UPGRADEABLE_LOADER_ACCOUNT_DISCRIMINATOR = 13; export declare function getAssertUpgradeableLoaderAccountDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array; export type AssertUpgradeableLoaderAccountInstruction = string, TRemainingAccounts extends readonly IAccountMeta[] = []> = IInstruction & IInstructionWithData & IInstructionWithAccounts<[ TAccountTargetAccount extends string ? ReadonlyAccount : TAccountTargetAccount, ...TRemainingAccounts ]>; export type AssertUpgradeableLoaderAccountInstructionData = { discriminator: number; logLevel: LogLevel; assertion: UpgradeableLoaderStateAssertion; }; export type AssertUpgradeableLoaderAccountInstructionDataArgs = { logLevel?: LogLevelArgs; assertion: UpgradeableLoaderStateAssertionArgs; }; export declare function getAssertUpgradeableLoaderAccountInstructionDataEncoder(): Encoder; export declare function getAssertUpgradeableLoaderAccountInstructionDataDecoder(): Decoder; export declare function getAssertUpgradeableLoaderAccountInstructionDataCodec(): Codec; export type AssertUpgradeableLoaderAccountInput = { /** Target account to be asserted */ targetAccount: Address; logLevel?: AssertUpgradeableLoaderAccountInstructionDataArgs['logLevel']; assertion: AssertUpgradeableLoaderAccountInstructionDataArgs['assertion']; }; export declare function getAssertUpgradeableLoaderAccountInstruction(input: AssertUpgradeableLoaderAccountInput, config?: { programAddress?: TProgramAddress; }): AssertUpgradeableLoaderAccountInstruction; export type ParsedAssertUpgradeableLoaderAccountInstruction = { programAddress: Address; accounts: { /** Target account to be asserted */ targetAccount: TAccountMetas[0]; }; data: AssertUpgradeableLoaderAccountInstructionData; }; export declare function parseAssertUpgradeableLoaderAccountInstruction(instruction: IInstruction & IInstructionWithAccounts & IInstructionWithData): ParsedAssertUpgradeableLoaderAccountInstruction; //# sourceMappingURL=assertUpgradeableLoaderAccount.d.ts.map