import { type Stats } from "node:fs"; export type ContainedPathKind = "file" | "directory" | "other"; export type ContainedPathInfo = { state: "absent"; } | { state: "unsafe"; reason: "symlink" | "outside-root" | "inaccessible"; } | { state: "present"; kind: ContainedPathKind; realPath: string; stats: Stats; }; export declare function containedPath(rootReal: string, targetReal: string): boolean; export declare function inspectContainedPath(rootReal: string, absPath: string): ContainedPathInfo; export declare function inspectContainedRelativePath(root: string, relPath: string): ContainedPathInfo;