import { InstrumentationBase, InstrumentationModuleDefinition } from "@opentelemetry/instrumentation"; import { OpenAIInstrumentationConfig } from "./types"; export declare class OpenAIInstrumentation extends InstrumentationBase { protected _config: OpenAIInstrumentationConfig; constructor(config?: OpenAIInstrumentationConfig); setConfig(config?: OpenAIInstrumentationConfig): void; manuallyInstrument(module: unknown): void; protected init(): InstrumentationModuleDefinition; private patch; private unpatch; private patchOpenAI; private startSpan; private _streamingWrapPromise; private _wrapPromise; private _endSpan; private _shouldSendPrompts; private _addLogProbsEvent; private _encodingCache; private tokenCountFromString; private _detectVendorFromURL; } //# sourceMappingURL=instrumentation.d.ts.map