import type { FSWatcher } from 'chokidar'; import type { Policy } from '../types.js'; import { type Snapshot } from './snapshot.js'; import { type WatcherStats } from './watcher.js'; export interface WatchdogSession { sessionId: string; rootDir: string; policy: Policy; snapshot: Snapshot; watcher: FSWatcher; stats: WatcherStats; startTime: Date; } /** * Start watchdog mode - monitors and auto-restores protected files */ export declare function startWatchdog(rootDir: string, policy: Policy, restriction?: string): Promise; /** * Stop watchdog mode and print summary */ export declare function stopWatchdog(session: WatchdogSession): Promise; export { createSnapshot, cleanupSnapshot, generateSessionId } from './snapshot.js'; export { restoreFile, restoreAll } from './restore.js'; export { createWatcher } from './watcher.js'; //# sourceMappingURL=index.d.ts.map