import type { FeedBlock } from "./feed-blocks.js"; export interface TranscriptWindowRow { readonly key: string; readonly line: string; readonly block: FeedBlock; readonly lineIndex: number | undefined; } export interface TranscriptWindow { readonly rows: readonly TranscriptWindowRow[]; readonly height: number; readonly totalRows: number; readonly maxOffset: number; readonly offset: number; readonly scrollAbove: number; readonly scrollBelow: number; readonly viewportRows: number; readonly firstItemId: string | undefined; readonly lastItemId: string | undefined; readonly visibleItemIds: ReadonlySet; } export declare function flattenBlocks(blocks: readonly FeedBlock[]): readonly TranscriptWindowRow[]; export declare function totalTranscriptRows(blocks: readonly FeedBlock[]): number; export declare function planTranscriptWindow(flat: readonly TranscriptWindowRow[], budget: number, offsetFromBottom: number): TranscriptWindow;