import { type AgentMessageSender } from "@mono-agent/agent-contracts"; import type { RuntimeEventLike } from "@mono-agent/observability"; import type { HistoryMessage } from "../context/index.js"; import type { AgentHarnessOptions } from "../types.js"; import type { AppliedLiveInput } from "../live-input.js"; export declare function buildSuccessfulTurn(options: AgentHarnessOptions, conversationId: string, userMessage: string, liveInputs: readonly AppliedLiveInput[], assistantText: string, runId: string, sender?: AgentMessageSender): Promise<{ readonly capturedAt: string; readonly messages: readonly HistoryMessage[]; readonly userMemoryText: string; }>; /** * Persists additive memory after durable conversation history commits. * userMessage is the redacted persistence text, never the provider-expanded * attachment prompt. */ export declare function persistSuccessfulMemory(harnessOptions: AgentHarnessOptions, conversationId: string, userMessage: string, assistantText: string, persistenceOptions: { readonly runId: string; readonly source?: string; readonly sender?: AgentMessageSender; readonly emit?: (event: RuntimeEventLike) => void; }): Promise; //# sourceMappingURL=memory-persistence.d.ts.map