import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; import { Dns, DnsInstrumentationConfig } from './types'; /** * Dns instrumentation for Opentelemetry */ export declare class DnsInstrumentation extends InstrumentationBase { protected _config: DnsInstrumentationConfig; constructor(_config?: DnsInstrumentationConfig); init(): 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; }