// Type definitions for safe-regex 1.1 // Project: https://github.com/davisjam/safe-regex // Definitions by: Mohamed Hegazy // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export = safe_regex; declare function safe_regex(re: string | RegExp, opts?: { limit?: number | undefined }): boolean;