import type { RunRecord } from './types'; export type SortKey = 'updated' | 'started' | 'duration'; export type GroupedRuns = { runs: RunRecord[]; repoCounts: Map; }; export declare function sortRuns(runs: RunRecord[], sortKey: SortKey, nowMs?: number): RunRecord[]; export declare function groupRunsByRepo(runs: RunRecord[], sortKey: SortKey, nowMs?: number): GroupedRuns;