UNPKG

240 BTypeScriptView Raw
1import type { PathSegment, NormalSegment } from '../types';
2/**
3 * Normalizes a single segment of a `PathArray` object.
4 * eg. H/V -> L, T -> Q
5 */
6export declare function normalizeSegment(segment: PathSegment, params: any): NormalSegment;