/** * Validates a path for dangerous characters and patterns. * Throws an error if the path is invalid. * * Checks for: * - Null bytes (can truncate strings in C libraries) * - Control characters (ASCII 0-31 except tab/newline) * - Excessively long paths (DoS potential) */ export declare function pathSanitize(target: string): void; /** * Sanitizes and resolves a path, ensuring it's absolute. * Returns the resolved absolute path. */ export declare function pathSanitizeAndResolve(target: string): string; //# sourceMappingURL=pathSanitize.d.ts.map