export declare function ensureDir(dir: string): void; export declare function writeJson(path: string, data: unknown): void; export declare function atomicWriteJson(path: string, data: unknown): void; export declare function atomicWriteText(path: string, content: string | Uint8Array): void; export declare function readJson(path: string): T; export declare function readJsonIfExists(path: string): T | null; export declare function readTextIfExists(path: string): string | null; export declare function readText(path: string): string; export declare function writeText(path: string, content: string): void; export declare function isDir(path: string): boolean; export declare function isSymlink(path: string): boolean; export declare function pathExists(path: string): boolean; export declare function listDirs(path: string): string[]; export declare function listEntries(path: string): string[]; export declare function removePath(path: string): void; export declare function linkOrCopy(target: string, linkPath: string, opts?: { noSymlink?: boolean; }): 'symlink' | 'copy'; export declare function readSymlinkTarget(path: string): string | null; export declare function walkFiles(root: string, predicate?: (name: string) => boolean, skipDir?: (name: string) => boolean): string[]; export declare function nowIso(): string;