import type { IPathSegments } from '../../../../types/segments/path-segments.type.js';
import type { IStemAndExtTuple } from '../../../../types/stem-and-ext-tuple.type.js';
export interface IGetStemAndExtOfPathSegmentsOptions {
    readonly rootRegExp: RegExp;
}
/**
 *  Returns the stem and ext tuple of the basename of 'segments'
 */
export declare function getStemAndExtOfPathSegments(segments: IPathSegments, { rootRegExp }: IGetStemAndExtOfPathSegmentsOptions): IStemAndExtTuple | null;
