UNPKG

382 BTypeScriptView Raw
1import type { PathArray } from '../types';
2/**
3 * The `PathParser` is used by the `parsePathString` static method
4 * to generate a `pathArray`.
5 */
6export declare class PathParser {
7 pathValue: string;
8 segments: PathArray;
9 max: number;
10 index: number;
11 param: number;
12 segmentStart: number;
13 data: any;
14 err: string;
15 constructor(pathString: string);
16}