/** * 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 TokenAccountAssertion, type TokenAccountAssertionArgs } from '../types'; export declare const ASSERT_TOKEN_ACCOUNT_DISCRIMINATOR = 9; export declare function getAssertTokenAccountDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array; export type AssertTokenAccountInstruction = string, TRemainingAccounts extends readonly IAccountMeta[] = []> = IInstruction & IInstructionWithData & IInstructionWithAccounts<[ TAccountTargetAccount extends string ? ReadonlyAccount : TAccountTargetAccount, ...TRemainingAccounts ]>; export type AssertTokenAccountInstructionData = { discriminator: number; logLevel: LogLevel; assertion: TokenAccountAssertion; }; export type AssertTokenAccountInstructionDataArgs = { logLevel?: LogLevelArgs; assertion: TokenAccountAssertionArgs; }; export declare function getAssertTokenAccountInstructionDataEncoder(): Encoder; export declare function getAssertTokenAccountInstructionDataDecoder(): Decoder; export declare function getAssertTokenAccountInstructionDataCodec(): Codec; export type AssertTokenAccountInput = { /** Target account to be asserted */ targetAccount: Address; logLevel?: AssertTokenAccountInstructionDataArgs['logLevel']; assertion: AssertTokenAccountInstructionDataArgs['assertion']; }; export declare function getAssertTokenAccountInstruction(input: AssertTokenAccountInput, config?: { programAddress?: TProgramAddress; }): AssertTokenAccountInstruction; export type ParsedAssertTokenAccountInstruction = { programAddress: Address; accounts: { /** Target account to be asserted */ targetAccount: TAccountMetas[0]; }; data: AssertTokenAccountInstructionData; }; export declare function parseAssertTokenAccountInstruction(instruction: IInstruction & IInstructionWithAccounts & IInstructionWithData): ParsedAssertTokenAccountInstruction; //# sourceMappingURL=assertTokenAccount.d.ts.map