UNPKG

@intlayer/chokidar

Version:

Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.

20 lines 676 B
//#region src/init/utils/fileSystem.d.ts /** * Helper to check if a file exists */ declare const exists: (rootDir: string, filePath: string) => Promise<boolean>; /** * Helper to read a file */ declare const readFileFromRoot: (rootDir: string, filePath: string) => Promise<string>; /** * Helper to write a file */ declare const writeFileToRoot: (rootDir: string, filePath: string, content: string) => Promise<void>; /** * Helper to ensure a directory exists */ declare const ensureDirectory: (rootDir: string, dirPath: string) => Promise<void>; //#endregion export { ensureDirectory, exists, readFileFromRoot, writeFileToRoot }; //# sourceMappingURL=fileSystem.d.ts.map