/** * 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 AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner } from '@solana/kit'; import { COMMERCE_PROGRAM_PROGRAM_ADDRESS } from '../programs'; export declare const EMIT_EVENT_DISCRIMINATOR = 228; export declare function getEmitEventDiscriminatorBytes(): ReadonlyUint8Array; export type EmitEventInstruction = '3VSJP7faqLk6MbCaNtMYc2Y8S8hMXRsZ5cBcwh1fjMH1', TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountEventAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountEventAuthority, ...TRemainingAccounts ]>; export type EmitEventInstructionData = { discriminator: number; }; export type EmitEventInstructionDataArgs = {}; export declare function getEmitEventInstructionDataEncoder(): FixedSizeEncoder; export declare function getEmitEventInstructionDataDecoder(): FixedSizeDecoder; export declare function getEmitEventInstructionDataCodec(): FixedSizeCodec; export type EmitEventInput = { eventAuthority?: TransactionSigner; }; export declare function getEmitEventInstruction(input: EmitEventInput, config?: { programAddress?: TProgramAddress; }): EmitEventInstruction; export type ParsedEmitEventInstruction = { programAddress: Address; accounts: { eventAuthority: TAccountMetas[0]; }; data: EmitEventInstructionData; }; export declare function parseEmitEventInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedEmitEventInstruction; //# sourceMappingURL=emitEvent.d.ts.map