/** * RegExp utilities. Use this module by importing from `@sirpepe/shed/regexp`. */ /** * Indicates whether `input` is either a regular expression object or a string * containing a valid regular expression. */ export declare function isRegExp(input: RegExp): input is RegExp; export declare function isRegExp(input: string): boolean; export declare function isRegExp(input: unknown): boolean; /** * Escapes a string for use in regular expressions. */ export declare function escapeRegExpString(string: string): string;