/** * Cross-platform path helpers (#104). * * Lyse's file walker (fast-glob) returns forward-slash paths even on Windows, * while `path.resolve` / repo roots use the OS separator (`\` on Windows). A * naive `abs.startsWith(root + "/")` therefore fails on Windows, leaving * finding `location.file` paths absolute (or backslash-separated). Finding * paths are user-facing and cross-repo-compared, so they must be relative and * forward-slash on every platform. */ /** Normalize a path to forward slashes. */ export declare function toPosix(p: string): string; /** * Path of `abs` relative to `root`, forward-slash normalized, separator-agnostic. * Returns the posix-normalized `abs` unchanged if it is not under `root`. */ export declare function posixRelative(root: string, abs: string): string;