import type { LTEvent, LTEventAdapter } from '../../types'; /** * In-memory event adapter for testing. * * Captures all published events in an array that tests can inspect. * * Usage: * ```typescript * const adapter = new InMemoryEventAdapter(); * eventRegistry.register(adapter); * await eventRegistry.connect(); * * // ... run workflow ... * * expect(adapter.events).toContainEqual( * expect.objectContaining({ type: 'milestone', workflowName: 'reviewContent' }) * ); * ``` */ export declare class InMemoryEventAdapter implements LTEventAdapter { events: LTEvent[]; connect(): Promise; publish(event: LTEvent): Promise; disconnect(): Promise; /** Clear captured events */ clear(): void; }