/** * @ignore * @param pattern */ export declare function toJsonRegex(pattern: string | RegExp): string;