import { Agent } from '@earendil-works/pi-agent-core'; import { type LearningJob } from '../../memory-learning/repository.js'; import type { Config } from '../../config/schema.js'; import type { BackgroundReviewSettings } from './settings.js'; export interface RunUserModelReviewParams { conversationId: string; mainAgent: Agent; settings: BackgroundReviewSettings; workspaceId: string; getConfig: () => Config | undefined; } export declare function createBackgroundUserModelReviewTask(params: RunUserModelReviewParams): () => Promise; export declare function runPersistentLearningJob(job: LearningJob, getConfig: () => Config | undefined): Promise;