export { sanitizePathComponent } from "../../utils/path-sanitize"; /** * Check whether a target path is contained within a base directory. * Both paths are resolved to absolute before comparison. */ export declare function isPathWithinBase(basePath: string, targetPath: string): boolean; /** * Sanitize components, join them to a base path, and verify the result * stays within the base directory. Throws PathTraversalError on escape. */ export declare function validateAndJoinPath(basePath: string, ...components: string[]): string; //# sourceMappingURL=path-security.d.ts.map