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