import type { Context } from '@deepseek-ai/cordis'; import type { Agent } from '@deepseek-ai/dsh-agent'; import type { Companion } from './domain.js'; import type { PartnerConcern } from './concern-domain.js'; import type { HeartbeatExecution } from './agent-runtime.js'; import { type RecordingSnapshot } from './recording-snapshot.js'; import { type ObservationProgress } from './observation-progress.js'; /** Visibility comes from the originating session, not a second plugin allowlist. * Execution still goes through the inherited scope and each tool's own guards. */ export declare function observationToolNames(inherited: readonly { name: string; }[], syncing: boolean, fileTarget: boolean): Set; /** Private message buffer; reuses the source tool/approval scope, never starts an Agent turn. */ export declare function executeObservationLoop(options: { ctx: Context; conversation: Agent; companion: Companion; concerns: PartnerConcern[]; guard(name: string, args: unknown): string | undefined; parse(output: string, ids: Set): HeartbeatExecution['candidates']; checkpoint?(item: PartnerConcern, snapshot: RecordingSnapshot): Promise; saveProgress?(item: PartnerConcern, progress: ObservationProgress | null): Promise; assertCurrent?(item: PartnerConcern): Promise; }): Promise; //# sourceMappingURL=observation-loop.d.ts.map