export declare function stringToRegex(path: string, caseSensitive?: boolean): RegExp;