import { type Tracer } from "#compiled/@opentelemetry/api/index.js"; import type { InstrumentationProviderDefinition } from "#instrumentation/lifecycle.js"; import type { AgentToolContext } from "#tracing/agent-tool-instrumentation.js"; import type { AgentSpanIdGenerator } from "#tracing/agent-span-id-generator.js"; /** Builds durable approval wait spans under their originating runtime action. */ export declare function createAgentApprovalInstrumentation(input: { readonly actionContextFor: (sessionId: string, turnId: string, callId: string) => Promise; readonly frameworkVersion: string; readonly idGenerator: AgentSpanIdGenerator; readonly tracer: Tracer; }): Pick, "input.requested" | "input.resolved">;