/** * Normalizes and resolves a user-supplied path against `root` (defaults to cwd) * and rejects paths that escape `root` (directory traversal or another drive / * root on Windows). */ export declare function resolvePathWithinRoot(userPath: string, root?: string): string; /** Ensures joined file paths stay under baseDir (both already absolute). */ export declare function joinSafe(baseDir: string, fileName: string): string; //# sourceMappingURL=pathSecurity.d.ts.map