/** * 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 MintAccountAssertion, type MintAccountAssertionArgs } from '../types'; export declare const ASSERT_MINT_ACCOUNT_DISCRIMINATOR = 7; export declare function getAssertMintAccountDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array; export type AssertMintAccountInstruction = string, TRemainingAccounts extends readonly IAccountMeta[] = []> = IInstruction & IInstructionWithData & IInstructionWithAccounts<[ TAccountTargetAccount extends string ? ReadonlyAccount : TAccountTargetAccount, ...TRemainingAccounts ]>; export type AssertMintAccountInstructionData = { discriminator: number; logLevel: LogLevel; assertion: MintAccountAssertion; }; export type AssertMintAccountInstructionDataArgs = { logLevel?: LogLevelArgs; assertion: MintAccountAssertionArgs; }; export declare function getAssertMintAccountInstructionDataEncoder(): Encoder; export declare function getAssertMintAccountInstructionDataDecoder(): Decoder; export declare function getAssertMintAccountInstructionDataCodec(): Codec; export type AssertMintAccountInput = { /** Target account to be asserted */ targetAccount: Address; logLevel?: AssertMintAccountInstructionDataArgs['logLevel']; assertion: AssertMintAccountInstructionDataArgs['assertion']; }; export declare function getAssertMintAccountInstruction(input: AssertMintAccountInput, config?: { programAddress?: TProgramAddress; }): AssertMintAccountInstruction; export type ParsedAssertMintAccountInstruction = { programAddress: Address; accounts: { /** Target account to be asserted */ targetAccount: TAccountMetas[0]; }; data: AssertMintAccountInstructionData; }; export declare function parseAssertMintAccountInstruction(instruction: IInstruction & IInstructionWithAccounts & IInstructionWithData): ParsedAssertMintAccountInstruction; //# sourceMappingURL=assertMintAccount.d.ts.map