export interface CompiledTruthHistoryParams {
    accountId: string;
    /** elementId of the :Person | :Organization | :Concept entity. */
    nodeId: string;
}
export interface CompiledTruthRevisionRow {
    revisionId: string;
    truth: string;
    /**
     * Task 436: which twin this row is a revision of. Older Task 391
     * rows (written before the twin discriminator existed) return
     * `"compiledTruth"` because that was the only twin then.
     */
    twin: "compiledTruth" | "compiledTruthPublic";
    writtenAt: string;
    source: "rewriter" | "operator";
}
/** Task 597: one row per :TimelineEvent linked to the entity. */
export interface TimelineEventRow {
    timelineEventId: string;
    /** Valid-time: when the fact was true in the world (t.occurredAt). */
    eventDate: string;
    /**
     * Transaction-time: when the store ingested this event (t.learnedAt).
     * Null for nodes written before Task 597 that missed the backfill migration.
     */
    learnedAt: string | null;
    kind: string;
    summary: string;
}
export interface CompiledTruthHistoryResult {
    entityNodeId: string;
    revisions: CompiledTruthRevisionRow[];
    /** Task 597: timeline events sorted by eventDate DESC. */
    timelineEvents: TimelineEventRow[];
}
declare const MAX_REVISIONS_RETURNED = 20;
declare const MAX_TIMELINE_EVENTS_RETURNED = 50;
export declare function memoryCompiledTruthHistory(params: CompiledTruthHistoryParams): Promise<CompiledTruthHistoryResult>;
export { MAX_REVISIONS_RETURNED, MAX_TIMELINE_EVENTS_RETURNED };
//# sourceMappingURL=memory-compiled-truth-history.d.ts.map