UNPKG

@mdfriday/foundry

Version:

The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.

20 lines 687 B
import { FileChangeEvent, FileWatcher, WatcherConfig } from './types'; export declare class ContentFileWatcher implements FileWatcher { private config; private watcher; private eventQueue; private batchTimer; private readonly batchDelay; private callbacks; constructor(config: WatcherConfig); startWatching(): Promise<void>; onFileChange(callback: (events: FileChangeEvent[]) => Promise<void>): void; private queueEvent; private isRelevantFile; private isMarkdownFile; private isImageFile; private scheduleBatch; private deduplicateEvents; stopWatching(): Promise<void>; } //# sourceMappingURL=content-file-watcher.d.ts.map