import { t as FsSafeError } from "./errors-CQDiIdj7.js";
import { a as isPathInside } from "./path-D138yf8v.js";
import { a as resolveAbsolutePathForRead, c as pathExistsSync, i as findExistingAncestor, n as canonicalPathFromExistingAncestor, o as resolveAbsolutePathForWrite, s as pathExists, t as assertAbsolutePathInput } from "./absolute-path-CYFPfAjt.js";
import { a as writeFileWithinRoot, c as readSecureFile, h as sanitizeUntrustedFileName, i as writeExternalFileWithinRoot, l as movePathToTrash, m as resolveLocalPathFromRootsSync, n as readFileWithinRoot, o as walkDirectory, p as readLocalFileFromRoots, r as root, s as walkDirectorySync, t as ensureAbsoluteDirectory } from "./fs-safe-gVoExnQ2.js";
import { n as openLocalFileSafely, r as readLocalFileSafely, s as resolveOpenedFileRealPathForHandle } from "./root-impl-gTXwaMDf.js";
import { a as resolveRegularFileAppendFlags, i as readRegularFileSync, n as appendRegularFileSync, o as statRegularFile, r as readRegularFile, s as statRegularFileSync, t as appendRegularFile } from "./regular-file-Dwz6p59y.js";
import { r as withTimeout } from "./timing-8WD1In27.js";
export { FsSafeError, appendRegularFile, appendRegularFileSync, assertAbsolutePathInput, canonicalPathFromExistingAncestor, ensureAbsoluteDirectory, findExistingAncestor, isPathInside, movePathToTrash, openLocalFileSafely, pathExists, pathExistsSync, readFileWithinRoot, readLocalFileFromRoots, readLocalFileSafely, readRegularFile, readRegularFileSync, readSecureFile, resolveAbsolutePathForRead, resolveAbsolutePathForWrite, resolveLocalPathFromRootsSync, resolveOpenedFileRealPathForHandle, resolveRegularFileAppendFlags, root, sanitizeUntrustedFileName, statRegularFile, statRegularFileSync, walkDirectory, walkDirectorySync, withTimeout, writeExternalFileWithinRoot, writeFileWithinRoot };
