import type { IMutablePathSegments } from '../../../../types/segments/mutable-path-segments.type.js';
export interface IForcePathSegmentsAsRelativeOptions {
    readonly rootRegExp: RegExp;
}
/**
 * Converts an absolute path to a relative path: replace the root by `.`.
 */
export declare function forcePathSegmentsAsRelative(segments: IMutablePathSegments, { rootRegExp }: IForcePathSegmentsAsRelativeOptions): void;
