import type { IPathSegments } from '../../../../types/segments/path-segments.type.js';
/**
 * Returns the parent directory of `segments`:
 *  - returns null if path has no parent directory (if path is `['.']` or `[root]`)
 */
export declare function getDirnameOfPathSegments(segments: IPathSegments): IPathSegments | null;
