import { type BrowserType, type Browser } from 'playwright'; import { Emitter } from '../testing/emitter.js'; import type { RunnerEvents } from '../types.js'; import type { Orchestrator } from './orchestrator.js'; export declare class Cli { #private; debugBrowser: Browser | undefined; constructor(orchestrator: Orchestrator); setExcludedFilePaths(paths: Set): void; get focusedFile(): string | null; printWaitingMessage(): void; /** * Clears the event buffer for files that are about to be re-run */ clearEventBufferFor(filesFilter?: string[]): void; /** * Re-emits cached events for test files that were NOT executed in the current watch cycle * so reporters render full suite progress and accurate totals. */ replayCachedEventsForUnchangedFiles(activeNodeEmitter: Emitter, activeFilesFilter?: string[]): Promise; /** * Creates an interceptor emitter that buffers events and filters * them based on the current focused file before reaching reporters. */ createFilteredEmitter(activeNodeEmitter: Emitter): Emitter; protected handleDebugBrowser(): Promise; protected openDebugBrowser(launchClass: BrowserType): Promise; start(): Promise; }