import { InstrumentationBase, type InstrumentationConfig, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; import type { MutableAsyncLocalStorageContextManager } from '../context/MutableAsyncLocalStorageContextManager'; import { type LoggerOptions } from '../otel-logger'; export declare const _parseConsoleArgs: (args: any[]) => any; export interface MXLConsoleInstrumentationConfig extends InstrumentationConfig { betaMode: boolean; loggerOptions: LoggerOptions; contextManager?: MutableAsyncLocalStorageContextManager; } export default class MXLConsoleInstrumentation extends InstrumentationBase { private readonly _mxlLogger; private readonly _contextManager; constructor(config: MXLConsoleInstrumentationConfig); init(): InstrumentationNodeModuleDefinition[]; private _patchConsole; private readonly _consoleLogHandler; private readonly _consoleInfoHandler; private readonly _consoleWarnHandler; private readonly _consoleErrorHandler; private readonly _consoleDebugHandler; private _onPatch; private _onUnPatch; }