import { type FabricDashboardSnapshot, type FabricUiAgent } from "./types.js"; export declare const WIDGET_FINISHED_RETENTION_MS = 30000; export declare const isResidentWidgetAgent: (agent: FabricUiAgent) => boolean; export declare const isRecentWidgetCompletion: (finishedAt: number, now: number) => boolean; /** Display-only leases; never change manager records or dashboard snapshots. */ export declare class FabricWidgetRetention { #private; clear(): void; sync(snapshot: FabricDashboardSnapshot): void; finishedAt(agent: FabricUiAgent, now: number): number; visible(agent: FabricUiAgent, snapshot: FabricDashboardSnapshot): boolean; nextExpiryDelay(snapshot: FabricDashboardSnapshot, now: number): number | undefined; } //# sourceMappingURL=retention.d.ts.map