import type { SelectionState } from "../../ui-core/controllers/selection-controller.js"; import { type SemanticAnchor, type SemanticDocument } from "../../ui-core/state/semantic-document.js"; import type { FeedBlock } from "./feed-blocks.js"; import type { TranscriptWindow, TranscriptWindowRow } from "./transcript-window.js"; export interface TranscriptPointerGeometry { readonly left: number; readonly top: number; } export interface SelectionSpan { readonly text: string; readonly start: number; readonly end: number; } export declare function classicTranscriptDocument(blocks: readonly FeedBlock[]): SemanticDocument; export declare function anchorAtTranscriptPointer(window: TranscriptWindow, x: number, y: number, geometry: TranscriptPointerGeometry, clamp?: boolean): SemanticAnchor | undefined; export declare function selectionSpanForRow(row: TranscriptWindowRow, document: SemanticDocument, state: SelectionState): SelectionSpan | undefined;