import type { AtUriString } from '@atproto/lex-schema'; import { app } from '../../../../lexicons/index.js'; type ActivityItem = app.bsky.unspecced.getAtmosphereTimeline.ActivityItem; type ActivityGroup = app.bsky.unspecced.getAtmosphereTimeline.ActivityGroup; export type TimelineActivity = { item: ActivityItem; sortedAt: number; target?: AtUriString; groupable: boolean; }; /** Select the timeline gap and grouping window using the newer activity's age. */ export declare function atmosphereWindow(ageMs: number): number; /** Attach article reactions, then group remaining activities at their newest position. */ export declare function groupAtmosphereActivities(activities: TimelineActivity[], now: number): (ActivityItem | ActivityGroup)[]; export {}; //# sourceMappingURL=atmosphere-grouping.d.ts.map