import { LogEntry } from '@jest/console'; type WarningDataArray = Array>; type PrepareWarnings = (arg0: Record) => WarningDataArray; type Warning = { name: string; regex: RegExp; files?: Set; }; type SlowTest = { duration: number; fullName: string; filePath: string; }; type Log = { filePath: string; warnings: Array; }; type LogsObj = Record; interface IJestReporterConfig { showSlowest?: boolean; maxSlowTests?: number; warnOnSlowerThan?: number; showWarningSummary?: boolean; warningsConfig?: Array; } enum CustomLogType { Log = 'log', Warn = 'warn', Error = 'error', } type CustomLogEntry = { message: string; type: CustomLogType; origin: string; }; export { CustomLogEntry, CustomLogType, IJestReporterConfig, LogsObj, PrepareWarnings, SlowTest, Warning, WarningDataArray, };