import type { IPathSegment } from '../../../../../types/segments/segment/path-segment.type.js';
/**
 * Returns the basename of a segment, without 'ext' if provided
 * INFO: 'basename' must be a valid entry name (must not be root or relative)
 */
export declare function getBasenameOfEntryPathSegment(segment: IPathSegment, ext?: string): string;
