import { type Tracer } from "#compiled/@opentelemetry/api/index.js"; import type { InstrumentationProviderDefinition } from "#instrumentation/lifecycle.js"; import type { InstrumentationMemoryExecutionOperation } from "#instrumentation/memory.js"; import type { AgentTraceStateStore } from "#tracing/agent-trace-state.js"; import type { ConversationEnvironment } from "#shared/conversation-context.js"; interface AgentMemoryInstrumentation { readonly events: Pick, "memory.operation.completed" | "memory.operation.failed" | "memory.operation.started">; runInContext(operation: InstrumentationMemoryExecutionOperation, execute: () => PromiseLike): Promise; } export declare function createAgentMemoryInstrumentation(input: { readonly environment: ConversationEnvironment; readonly recordOutputs?: boolean; readonly stateStore: AgentTraceStateStore; readonly tracer: Tracer; }): AgentMemoryInstrumentation; export {};