import type { MaestroEvent, RunMaestroOptions } from "../index.js"; export interface EventCollector { onEvent: NonNullable; events: MaestroEvent[]; waitFor(predicate: (event: MaestroEvent) => boolean, options: { timeoutMs: number; }): Promise; snapshot(): readonly MaestroEvent[]; } export declare function createEventCollector(): EventCollector;