import type { AgentHistoryRecord } from "@/types"; import type { ProviderSettings } from "../../settings.js"; import type { Storage } from "../../storage/storage.js"; import type { Context } from "../agents/context.js"; import type { InferenceRouter } from "../modules/inference/router.js"; import { type InferObservation } from "./infer/inferObservations.js"; export type MemorySessionObserveOptions = { sessionNumber: number; ctx: Context; records: AgentHistoryRecord[]; storage: Storage; inferenceRouter: InferenceRouter; providers: ProviderSettings[]; isForeground?: boolean; }; /** * Observes a single invalidated session for memory extraction. * Runs inference to extract observations from conversation history. * * Expects: ctx identifies the agent, records are the unprocessed history entries. */ export declare function memorySessionObserve(options: MemorySessionObserveOptions): Promise; //# sourceMappingURL=memorySessionObserve.d.ts.map