/** * 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 StakeAccountAssertion, type StakeAccountAssertionArgs } from '../types'; export declare const ASSERT_STAKE_ACCOUNT_DISCRIMINATOR = 11; export declare function getAssertStakeAccountDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array; export type AssertStakeAccountInstruction = string, TRemainingAccounts extends readonly IAccountMeta[] = []> = IInstruction & IInstructionWithData & IInstructionWithAccounts<[ TAccountTargetAccount extends string ? ReadonlyAccount : TAccountTargetAccount, ...TRemainingAccounts ]>; export type AssertStakeAccountInstructionData = { discriminator: number; logLevel: LogLevel; assertion: StakeAccountAssertion; }; export type AssertStakeAccountInstructionDataArgs = { logLevel?: LogLevelArgs; assertion: StakeAccountAssertionArgs; }; export declare function getAssertStakeAccountInstructionDataEncoder(): Encoder; export declare function getAssertStakeAccountInstructionDataDecoder(): Decoder; export declare function getAssertStakeAccountInstructionDataCodec(): Codec; export type AssertStakeAccountInput = { /** Target account to be asserted */ targetAccount: Address; logLevel?: AssertStakeAccountInstructionDataArgs['logLevel']; assertion: AssertStakeAccountInstructionDataArgs['assertion']; }; export declare function getAssertStakeAccountInstruction(input: AssertStakeAccountInput, config?: { programAddress?: TProgramAddress; }): AssertStakeAccountInstruction; export type ParsedAssertStakeAccountInstruction = { programAddress: Address; accounts: { /** Target account to be asserted */ targetAccount: TAccountMetas[0]; }; data: AssertStakeAccountInstructionData; }; export declare function parseAssertStakeAccountInstruction(instruction: IInstruction & IInstructionWithAccounts & IInstructionWithData): ParsedAssertStakeAccountInstruction; //# sourceMappingURL=assertStakeAccount.d.ts.map