/**
 * Function that escapes a string so it can be used in a RegExp.
 *
 * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Escaping
 */
export default function regexpEscaper(str: string): string;
