import { InstrumentationBase, InstrumentationConfig } from '@opentelemetry/instrumentation'; type EventName = keyof GlobalEventHandlersEventMap; interface UserInteractionInstrumentationConfig extends InstrumentationConfig { eventNames?: EventName[]; rootNodeId?: string; } declare class UserInteractionInstrumentation extends InstrumentationBase { protected _config: UserInteractionInstrumentationConfig; private _isEnabled; private _listeners; private static _eventMap; constructor(config?: UserInteractionInstrumentationConfig); protected init(): void; private static handleEndSpan; private static createGlobalEventListener; enable(): void; private getRootNode; disable(): void; } export { UserInteractionInstrumentation };