import type { DiscussionOrganization, DiscussionReview, DiscussionPlaybackRange } from '@xopcai/gateway-contract'; import type { NotesService } from '../notes/service.js'; export type ChapterScope = { source: string; revision: number; transcript: string; }; export declare function chapterScope(id: string): ChapterScope; export declare function saveReviewChapter(id: string, hash: string, position: number, chapter: DiscussionOrganization, scope: ChapterScope): void; /** Union, rather than the latest timestamp or sum, describes verified coverage. */ export declare function unionReviewRanges(ranges: DiscussionPlaybackRange[], duration: number): DiscussionPlaybackRange[]; export declare function longRecordingReview(id: string, notes: NotesService, options?: { query?: string; offset?: number; limit?: number; version?: string; }): Promise;