export declare const toRegex: (input: string) => RegExp;