/**
 * Escapes special characters in a given string in preparation to be used as
 * argument of the JS `RegExp` constructor, useful when you want to match the
 * given string as a literal substring.
 *
 * @param {string} str A string.
 * @returns {string} The escaped string.
 * @since 1.0.0
 */
declare const escapeRegexStr: (str: string | null) => string;
export = escapeRegexStr;
//# sourceMappingURL=index.d.ts.map