export declare const toRegexOrString: (value: string | RegExp) => string | RegExp; export declare const findMatch: (haystack: (string | RegExp)[], needle: string) => string | RegExp | undefined; export declare const isIdChar: (text: string) => boolean;