import type { ContextObjectType } from './context-extraction-repository.js'; export type ContextObjectRelation = { id: string; subjectType: ContextObjectType; subjectId: string; subjectVersionId?: string; predicate: 'supersedes' | 'supports' | 'contradicts' | 'related_to'; objectType: ContextObjectType; objectId: string; objectVersionId?: string; factual: boolean; extractionRunId?: string; createdAt: number; }; export type ContextTemporalAssertion = { id: string; objectType: 'focus' | 'understanding'; objectId: string; objectVersionId?: string; assertionType: 'current_state' | 'routine' | 'relationship' | 'project_status'; value: Record; confidence: number; validFrom?: number; validTo?: number; status: 'candidate' | 'active' | 'closed' | 'rejected'; extractionRunId?: string; createdAt: number; updatedAt: number; }; export declare function linkContextObjects(input: Omit & { nowMs?: number; }): ContextObjectRelation; export declare function listContextObjectRelations(input?: { objectType?: ContextObjectType; objectId?: string; extractionRunId?: string; }): ContextObjectRelation[]; export declare function createTemporalAssertion(input: Omit & { nowMs?: number; }): ContextTemporalAssertion; export declare function closeTemporalAssertions(input: { objectType: ContextTemporalAssertion['objectType']; objectId: string; validTo?: number; }): number; export declare function listTemporalAssertions(input?: { objectType?: ContextTemporalAssertion['objectType']; objectId?: string; status?: ContextTemporalAssertion['status']; }): ContextTemporalAssertion[];