/** * Watch Mode - Re-run tests on file changes. * Enhanced: watch trace directories, auto-run on new traces, bell on failure, running summary. */ import type { ReportFormat } from './types'; export interface WatchOptions { suitePath: string; format: ReportFormat; extraWatchPaths?: string[]; updateSnapshots?: boolean; tags?: string[]; traceDir?: string; } export interface WatchSummary { runs: number; totalPassed: number; totalFailed: number; lastRun: string | null; consecutiveFailures: number; } export declare function startWatch(opts: WatchOptions): void; /** * Watch a trace directory and auto-run tests when new traces appear. */ export declare function watchTraceDir(traceDir: string, suitePath: string, opts?: { format?: ReportFormat; }): void; //# sourceMappingURL=watcher.d.ts.map