import CONSTANTS from './constants'; export type ValueOf = T[keyof T]; export type SetOptional = Omit & Partial>; export type Severity = ValueOf; export type LogType = ValueOf; export type LogSymbols = ValueOf | ValueOf | '-'; export type LogOccurrence = ValueOf; export type Colors = ValueOf; export type State = ValueOf; export type CommandTimings = ValueOf; export type BuiltinOutputProcessorsTypes = 'txt' | 'json' | 'html'; export type Log = { type: LogType; message: string; severity: Severity; timeString?: string; }; export type MessageData = { spec: string; test: string; state: State; messages: Log[]; consoleTitle?: string; level?: number; isHook?: boolean; continuous?: boolean; }; export type TestData = { mochaRunnable: Mocha.Runnable; testState?: string; testTitle: string; testLevel: number; };