import { agentLoop } from "../sdk/agent-core/index.js";
import type { Model } from "../sdk/ai/index.js";
import type { ObservationRecord } from "./types.js";
interface RunObserverArgs {
    model: Model<any>;
    apiKey: string;
    headers?: Record<string, string>;
    priorReflections: string[];
    priorObservations: string[];
    chunk: string;
    allowedSourceEntryIds: string[];
    signal?: AbortSignal;
    agentLoop?: typeof agentLoop;
    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<ObservationRecord[] | undefined>;
export declare function observationsToPromptLines(records: ObservationRecord[]): string[];
export {};
//# sourceMappingURL=observer.d.ts.map