import type * as CallbackManagerModuleV02 from "@langchain/core/callbacks/manager"; import type { OITracer } from "@arizeai/openinference-core"; /** * Adds the {@link LangChainTracer} to the callback handlers if it is not already present * @param tracer the {@link tracer} to pass into the {@link LangChainTracer} when added to handlers * @param handlers the LangChain callback handlers which may be an array of handlers or a CallbackManager * @returns the callback handlers with the {@link LangChainTracer} added * * If the handlers are an array, we add the tracer to the array if it is not already present */ export declare function addTracerToHandlers(tracer: OITracer, handlers?: CallbackManagerModuleV02.Callbacks): CallbackManagerModuleV02.Callbacks; //# sourceMappingURL=instrumentationUtils.d.ts.map