import type { AgentHistoryRecord } from "@/types"; import type { ProviderSettings } from "../../../settings.js"; import type { InferenceRouter } from "../../modules/inference/router.js"; export type InferObservation = { text: string; context: string; }; export type InferObservationsOptions = { records: AgentHistoryRecord[]; inferenceRouter: InferenceRouter; providers: ProviderSettings[]; signal?: AbortSignal; isForeground?: boolean; }; /** * Runs inference on conversation history to extract observations worth persisting. * When isForeground is false, the OBSERVE.md prompt is adjusted for background agent context. * * Expects: records from a single session, at least one provider available. */ export declare function inferObservations(options: InferObservationsOptions): Promise; //# sourceMappingURL=inferObservations.d.ts.map