/** * Auto-Reload System * * Automatically reloads files when they change. * Useful for development workflows and live-reloading configurations. */ export interface AutoReloadOptions { debounceMs?: number; onReload?: (path: string, content: string) => void | Promise; onError?: (path: string, error: Error) => void; } export declare class AutoReloadManager { private reloadCallbacks; /** * Enable auto-reload for a file * Returns the current content and starts watching */ enableAutoReload(filePath: string, callback: (content: string) => void | Promise, options?: AutoReloadOptions): Promise; /** * Disable auto-reload for a file */ disableAutoReload(filePath: string): Promise; /** * Disable all auto-reloads */ disableAll(): Promise; /** * Check if file has auto-reload enabled */ isAutoReloadEnabled(filePath: string): boolean; /** * Get list of files with auto-reload enabled */ getAutoReloadFiles(): string[]; } export declare const autoReloadManager: AutoReloadManager; //# sourceMappingURL=auto-reload.d.ts.map