/** * 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 CompactU64, type CompactU64Args } from '../../hooked'; import { LIGHTHOUSE_PROGRAM_ADDRESS } from '../programs'; import { LogLevel, type DataValueAssertion, type DataValueAssertionArgs, type LogLevelArgs } from '../types'; export declare const ASSERT_ACCOUNT_DATA_DISCRIMINATOR = 2; export declare function getAssertAccountDataDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array; export type AssertAccountDataInstruction = string, TRemainingAccounts extends readonly IAccountMeta[] = []> = IInstruction & IInstructionWithData & IInstructionWithAccounts<[ TAccountTargetAccount extends string ? ReadonlyAccount : TAccountTargetAccount, ...TRemainingAccounts ]>; export type AssertAccountDataInstructionData = { discriminator: number; logLevel: LogLevel; offset: CompactU64; assertion: DataValueAssertion; }; export type AssertAccountDataInstructionDataArgs = { logLevel?: LogLevelArgs; offset: CompactU64Args; assertion: DataValueAssertionArgs; }; export declare function getAssertAccountDataInstructionDataEncoder(): Encoder; export declare function getAssertAccountDataInstructionDataDecoder(): Decoder; export declare function getAssertAccountDataInstructionDataCodec(): Codec; export type AssertAccountDataInput = { /** Target account to be asserted */ targetAccount: Address; logLevel?: AssertAccountDataInstructionDataArgs['logLevel']; offset: AssertAccountDataInstructionDataArgs['offset']; assertion: AssertAccountDataInstructionDataArgs['assertion']; }; export declare function getAssertAccountDataInstruction(input: AssertAccountDataInput, config?: { programAddress?: TProgramAddress; }): AssertAccountDataInstruction; export type ParsedAssertAccountDataInstruction = { programAddress: Address; accounts: { /** Target account to be asserted */ targetAccount: TAccountMetas[0]; }; data: AssertAccountDataInstructionData; }; export declare function parseAssertAccountDataInstruction(instruction: IInstruction & IInstructionWithAccounts & IInstructionWithData): ParsedAssertAccountDataInstruction; //# sourceMappingURL=assertAccountData.d.ts.map