import type { ObservatoryInsight, ActualWithScope } from '../types/index.js';
/**
 * Compute local insights from pre-loaded actuals data.
 * Accepts an array of ActualWithScope objects (PII-free aggregates).
 */
export declare function computeLocalInsights(actuals: ActualWithScope[]): ObservatoryInsight[];
/**
 * Compute velocity insight when multiple projects are involved.
 * Returns null when insufficient data is available.
 */
export declare function computeVelocityInsight(actuals: ActualWithScope[], projectCount: number): ObservatoryInsight | null;
/**
 * Returns true if the given ISO timestamp is less than 24 hours old.
 */
export declare function isCacheValid(fetchedAt: string): boolean;
//# sourceMappingURL=observatory-engine.d.ts.map