import type { Stats } from 'node:fs'; import type { JsonValue } from 'type-fest'; import { L, OT, T } from './effect/index.js'; import type { SymlinkType } from './fs_.js'; import { FileNotFoundError, FileOrDirNotFoundError, JsonParseError, JsonStringifyError, MkdirError, ReadFileError, RmError, StatError, SymlinkError, WriteFileError } from './fs_.js'; export declare const fileOrDirExists: (pathLike: string) => T.Effect; export declare const symlinkExists: (pathLike: string) => T.Effect; export declare const stat: (filePath: string) => T.Effect; export declare const readFile: (filePath: string) => T.Effect; export declare const readFileBuffer: (filePath: string) => T.Effect; export declare const readFileJson: (filePath: string) => T.Effect; export declare const readFileJsonIfExists: (filePath: string) => T.Effect; export declare const writeFile: (filePath: string, content: string) => T.Effect; export declare const writeFileJson: ({ filePath, content, }: { filePath: string; content: JsonValue; }) => T.Effect; export declare const mkdirp: (dirPath: T) => T.Effect; export declare function rm(path: string, params: { force: true; recursive?: boolean; }): T.Effect; export declare function rm(path: string, params?: { force?: false; recursive?: boolean; }): T.Effect; /** * NOTE: symlinks are not supported widely on Windows */ export declare const symlink: ({ targetPath, symlinkPath, type, }: { targetPath: string; symlinkPath: string; type: SymlinkType; }) => T.Effect; export declare const InMemoryFsLive: L.Layer>; //# sourceMappingURL=fs-in-memory.d.ts.map