UNPKG

238 BTypeScriptView Raw
1import type { PathArray } from '../types';
2/**
3 * Parses a path string value and returns an array
4 * of segments we like to call `pathArray`.
5 */
6export declare function parsePathString(pathInput: PathArray | string): PathArray | string;