import { Agent } from '@earendil-works/pi-agent-core'; import type { Config } from '../../config/schema.js'; import type { MemoryManager } from '../memory/manager.js'; import type { UnderstandingCandidate } from '../memory/understanding/types.js'; import type { BackgroundReviewSettings } from './settings.js'; export interface RunBackgroundReviewParams { sessionKey: string; mainAgent: Agent; settings: BackgroundReviewSettings; memoryManager: MemoryManager; getConfig: () => Config | undefined; } export declare function parseUnderstandingCandidates(raw: string): UnderstandingCandidate[]; export declare function runBackgroundReviewTurn(params: RunBackgroundReviewParams): Promise;