import type { SafePath } from '../../types/safety.js';
export declare class PathViolationError extends Error {
    readonly code: "PATH_VIOLATION";
    readonly input: string;
    constructor(message: string, input: string);
}
/**
 * Sanitizes a path ensuring it stays within projectRoot.
 * Returns a branded SafePath on success.
 *
 * Checks:
 * 1. No null bytes
 * 2. Path length <= 4096
 * 3. Resolved path does not escape projectRoot (relative check)
 */
export declare function sanitizePath(input: string, projectRoot: string): SafePath;
//# sourceMappingURL=path-sanitizer.d.ts.map