import { DnsInstrumentationConfig } from "./types.mjs"; import { InstrumentationBase, InstrumentationNodeModuleDefinition } from "@opentelemetry/instrumentation"; //#region src/instrumentation.d.ts /** * Dns instrumentation for Opentelemetry */ export declare class DnsInstrumentation extends InstrumentationBase { constructor(config?: DnsInstrumentationConfig); init(): (InstrumentationNodeModuleDefinition | InstrumentationNodeModuleDefinition)[]; /** * Get the patched lookup function */ private _getLookup; /** * Creates spans for lookup operations, restoring spans' context if applied. */ private _getPatchLookupFunction; /** * Wrap lookup callback function */ private _wrapLookupCallback; } //#endregion //# sourceMappingURL=instrumentation.d.mts.map