import type { ReadOnlyURL } from "../types/ReadOnlyURL.js"; /** * Given a path, replace the CWD with a `"."` to make it relative. * * @category Output * @example * ```typescript * // If CWD is `"/projects"` * relativePath("/projects/tests/"); // "./tests/" * ``` * @param path Path to make relative. * @returns Relative path. */ export declare const relativePath: ({ href }: ReadOnlyURL) => string;