import type { Dirent } from 'node:fs'; /** Read a directory, or return an empty list when the path does not exist. */ export declare function readDirectoryIfExists(path: string): Promise; /** Read a UTF-8 file, or return undefined when the path does not exist. */ export declare function readTextIfExists(path: string): Promise; //# sourceMappingURL=fsx.d.ts.map