/** * 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 AccountInfoAssertion, type AccountInfoAssertionArgs, type LogLevelArgs } from '../types'; export declare const ASSERT_ACCOUNT_INFO_DISCRIMINATOR = 5; export declare function getAssertAccountInfoDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array; export type AssertAccountInfoInstruction = string, TRemainingAccounts extends readonly IAccountMeta[] = []> = IInstruction & IInstructionWithData & IInstructionWithAccounts<[ TAccountTargetAccount extends string ? ReadonlyAccount : TAccountTargetAccount, ...TRemainingAccounts ]>; export type AssertAccountInfoInstructionData = { discriminator: number; logLevel: LogLevel; assertion: AccountInfoAssertion; }; export type AssertAccountInfoInstructionDataArgs = { logLevel?: LogLevelArgs; assertion: AccountInfoAssertionArgs; }; export declare function getAssertAccountInfoInstructionDataEncoder(): Encoder; export declare function getAssertAccountInfoInstructionDataDecoder(): Decoder; export declare function getAssertAccountInfoInstructionDataCodec(): Codec; export type AssertAccountInfoInput = { /** Target account to be asserted */ targetAccount: Address; logLevel?: AssertAccountInfoInstructionDataArgs['logLevel']; assertion: AssertAccountInfoInstructionDataArgs['assertion']; }; export declare function getAssertAccountInfoInstruction(input: AssertAccountInfoInput, config?: { programAddress?: TProgramAddress; }): AssertAccountInfoInstruction; export type ParsedAssertAccountInfoInstruction = { programAddress: Address; accounts: { /** Target account to be asserted */ targetAccount: TAccountMetas[0]; }; data: AssertAccountInfoInstructionData; }; export declare function parseAssertAccountInfoInstruction(instruction: IInstruction & IInstructionWithAccounts & IInstructionWithData): ParsedAssertAccountInfoInstruction; //# sourceMappingURL=assertAccountInfo.d.ts.map