/** * Watch options */ export interface WatchOptions { /** Debounce delay in milliseconds (default: 300) */ debounceMs?: number; /** File extensions to include (default: [".ts"]) */ extensions?: string[]; /** Directory names to ignore */ ignoreDirs?: string[]; } /** * Check if a file path should be watched */ export declare function shouldWatch(filePath: string, options: Required): boolean; /** * Format a timestamp as HH:MM:SS */ export declare function formatTimestamp(date?: Date): string; /** * Format changed files for display (relative paths, truncated if many) */ export declare function formatChangedFiles(files: string[], basePath: string, maxShow?: number): string; /** * Watch a directory for file changes with debouncing. * Returns a cleanup function to stop watching. */ export declare function watchDirectory(path: string, callback: (changedFiles: string[]) => void, options?: WatchOptions): () => void; //# sourceMappingURL=watch.d.ts.map