import { agentLoop, type AgentEvent } from "../sdk/agent-core/index.js"; import type { Model } from "../sdk/ai/index.js"; import type { ObservationRecord } from "./types.js"; interface RunObserverArgs { model: Model; apiKey: string; headers?: Record; priorReflections: string[]; priorObservations: string[]; chunk: string; allowedSourceEntryIds: string[]; signal?: AbortSignal; agentLoop?: typeof agentLoop; onEvent?: (event: AgentEvent) => void; maxTurns?: number; } export declare const OBSERVATION_TIMESTAMP_PATTERN = "^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$"; export declare function normalizeSourceEntryIds(sourceEntryIds: readonly string[] | undefined, allowedSourceEntryIds: readonly string[]): string[] | undefined; export declare function runObserver(args: RunObserverArgs): Promise; export declare function observationsToPromptLines(records: ObservationRecord[]): string[]; export {}; //# sourceMappingURL=observer.d.ts.map