import { InstrumentationBase, InstrumentationModuleDefinition } from "@opentelemetry/instrumentation"; import type * as genai from "@google/genai"; import { GenAIInstrumentationConfig } from "./types"; export declare const genaiFinishReasonMap: Record; export declare class GenAIInstrumentation extends InstrumentationBase { protected _config: GenAIInstrumentationConfig; /** Tracks already-patched modules to prevent double-patching on repeated calls. */ private readonly _instrumentedModules; constructor(config?: GenAIInstrumentationConfig); setConfig(config?: GenAIInstrumentationConfig): void; protected init(): InstrumentationModuleDefinition; private wrap; private unwrap; manuallyInstrument(module: typeof genai): void; private _shouldSendPrompts; private wrapGoogleGenAI; private wrapGenerateContent; private wrapGenerateContentStream; private _startSpan; private _endSpan; } //# sourceMappingURL=instrumentation.d.ts.map