import * as Effect from "effect/Effect"; import * as Option from "effect/Option"; import * as Path from "effect/Path"; import { type AbsolutePath } from "./path-types.js"; /** * Validates that a resolved target path stays within a base directory. * Uses path separator boundary check to prevent prefix false positives. */ export declare const isPathSafe: (path: Path.Path, base: string, target: string) => boolean; /** * Resolve `target` and return it only when it stays inside `base`. */ export declare const safeChildPath: (base: AbsolutePath, target: string) => Effect.Effect, never, Path.Path>; //# sourceMappingURL=path-safety.d.ts.map