import type { EventEmitter } from 'node:events'; import type { ILogger } from '../environment'; import type { IFormatterStream } from '../formatter'; import type { EventDataCollector } from '../formatter/helpers'; import type { PluginManager } from '../plugin'; import type { SupportCodeLibrary } from '../support_code_library_builder/types'; import type { IRunOptionsFormats } from './types'; export declare function initializeFormatters({ env, cwd, stdout, logger, onStreamError, eventBroadcaster, eventDataCollector, configuration, supportCodeLibrary, pluginManager, }: { env: NodeJS.ProcessEnv; cwd: string; stdout: IFormatterStream; stderr: IFormatterStream; logger: ILogger; onStreamError: () => void; eventBroadcaster: EventEmitter; eventDataCollector: EventDataCollector; configuration: IRunOptionsFormats; supportCodeLibrary: SupportCodeLibrary; pluginManager: PluginManager; }): Promise<() => Promise>;