import { Instrumentation, InstrumentationConfig } from "@opentelemetry/instrumentation"; //#region src/auto_instrumentations.d.ts type MonocleAutoInstrumentationConfig = InstrumentationConfig & Record; type MonocleAutoInstrumentationsDefaults = Record; type MonocleAutoInstrumentationOverride = MonocleAutoInstrumentationConfig | Instrumentation; type MonocleAutoInstrumentationsConfig = Record; type ResolveNodeAutoInstrumentationsOptions = { defaults?: MonocleAutoInstrumentationsDefaults; overrides?: false | MonocleAutoInstrumentationsConfig; }; type ResolvedNodeAutoInstrumentations = { config: Record; custom: Instrumentation[]; enabled: boolean; }; /** * Resolve a Node auto-instrumentation config map with support for defaults, * config overrides, disabled instrumentations, and custom instances. */ declare function resolveNodeAutoInstrumentations(options: ResolveNodeAutoInstrumentationsOptions): ResolvedNodeAutoInstrumentations; /** * Build Node auto-instrumentations from defaults and user overrides. */ declare function buildNodeAutoInstrumentations(options: ResolveNodeAutoInstrumentationsOptions): Instrumentation[]; //#endregion export { MonocleAutoInstrumentationConfig, MonocleAutoInstrumentationOverride, MonocleAutoInstrumentationsConfig, MonocleAutoInstrumentationsDefaults, buildNodeAutoInstrumentations, resolveNodeAutoInstrumentations };