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