import { type Tracer } from "@opentelemetry/api";
import type { Telemetry } from "ai";
/**
 * Returns a lazy tracer that resolves from `trace.getTracer()` on every call,
 * so evaluator spans follow whichever provider is currently mounted as global.
 *
 * Cast to `Tracer` is necessary because `startActiveSpan` has multiple
 * overload signatures that cannot be satisfied by a single implementation.
 */
export declare function getTracer(name?: string): Tracer;
export declare const tracer: Tracer;
/**
 * Builds the AI SDK telemetry integrations for an evaluator call. Per-call
 * `integrations` replace the SDK's globally registered ones, so the globals
 * (application logging, metrics, tracing to other backends) are carried
 * forward with a Phoenix tracing integration appended. If a global
 * integration already traces with the same tracer instance, the globals are
 * used as-is so the call is not traced twice.
 */
export declare function getTelemetryIntegrations(integrationTracer: Tracer): Telemetry[];
//# sourceMappingURL=index.d.ts.map