/**
 * Temporal analysis of entity fragments
 *
 * Looks for entity overlap across memories within a time window,
 * detecting potential fragment assembly over time.
 */
import type { ExtractedEntity } from './entity-extractor.js';
export interface OverlappingEntity {
    type: string;
    value: string;
    occurrences: number;
    memoryIds: number[];
}
export interface RecentEntity {
    entity_type: string;
    entity_value: string;
    memory_id: number;
    created_at: string;
}
/**
 * Query fragmentation_entities for entries within the time window
 */
export declare function getRecentEntities(windowHours: number): RecentEntity[];
/**
 * Find entities from the new memory that also appear in recent memories
 */
export declare function findOverlappingEntities(entities: ExtractedEntity[], windowHours: number): OverlappingEntity[];
