/** * Pure helpers for ordering and grouping stored sessions by suite run id. * Used by `sessions list`, the HTML report composition root, and the dashboard. */ export interface SuiteSessionGroup { readonly suiteRunId: string; readonly suiteName?: string; readonly sessions: readonly T[]; } /** Build suite-run groups when at least one session carries a `suiteRunId`. */ export declare function buildSuiteSessionGroups(sessions: readonly T[]): readonly SuiteSessionGroup[] | undefined; /** * Order sessions so suite members are contiguous, with each suite block sorted * by `startedAt` desc and blocks ordered by their latest step. */ export declare function orderSessionsForSuiteGrouping(sessions: readonly T[]): T[]; //# sourceMappingURL=suite-session-grouping.d.ts.map