import { watch } from 'fs'; export type WatchFactory = typeof watch; export interface PanelWatchServiceOptions { stateDir: string; configPath?: string; onStateChange: (event: string, filename?: string | Buffer | null) => void; onConfigChange: () => void; watchFactory?: WatchFactory; logger: { warn: (msg: string) => void; }; } /** * Thin wrapper around fs.watch so we can stub or wrap it in tests. */ export declare class PanelWatchService { private stateWatcher?; private configWatcher?; private readonly options; private readonly watchFactory; constructor(options: PanelWatchServiceOptions); start(): void; stop(): void; } //# sourceMappingURL=panel-watch-service.d.ts.map