import type { Config } from '../config/schema.js'; import { type ContextConsolidationRun } from '../storage/sqlite/index.js'; export declare const USER_CONTEXT_CONSOLIDATION_TOKEN = "__xopc_user_context_consolidation__"; export declare const USER_CONTEXT_CONSOLIDATION_AUTOMATION_ID = "system-user-context-consolidation"; type ConsolidationMetrics = { scanned: number; needsReview: number; stale: number; }; export declare function resolveContextConsolidationConfig(config: Config): { enabled: boolean; timezone: string; time: string; minEvidenceSources: number; limit: number; }; export declare function compileContextConsolidationCron(time: string): string; export declare function runContextConsolidation(input: { config: Config; triggerKind: 'schedule' | 'manual'; now?: number; }): Promise<{ run: ContextConsolidationRun; metrics: ConsolidationMetrics; }>; export {};