export declare function pathToRegex(path: string, strict?: boolean): [RegExp, string[], number];