import type { Recording } from "@opengeni/contracts"; export type MeetingRecord = { id: string; workspaceId: string; title: string; /** When it started (ms). */ startedAt: number; }; /** Turns listed recordings into records, with the titles the Meetings page shows. */ export declare function meetingRecords(recordings: readonly Recording[]): MeetingRecord[]; /** The workspace's newest meetings, as the server just listed them; replaces the last list. */ export declare function rememberRecentMeetings(subjectId: string, workspaceId: string, records: readonly MeetingRecord[]): void; /** The workspace's newest meetings the menu knows, newest first. */ export declare function readRecentMeetings(subjectId: string, workspaceId: string): readonly MeetingRecord[]; /** Re-renders when the directory changes; read it through `readRecentMeetings`. */ export declare function useMeetingDirectoryVersion(subjectId: string): number; /** A meeting's page in the app, as a plain path (new tab). */ export declare function meetingPath(workspaceId: string, recordingId: string): string;