import type { Config } from '../config/schema.js'; import { type LearningJob } from './repository.js'; export declare class MemoryLearningService { private readonly options; private timer?; private running; private stopped; private lastRetentionSweep; constructor(options: { getConfig: () => Config | undefined; workspaceForSession: (id: string) => string; execute: (job: LearningJob) => Promise; }); start(): void; stop(): void; runNow(): Promise; }