import type { BandRowMeta } from './terminal-compositor.types.js'; export declare const ELAPSED_GRACE_MS = 2000; export declare function formatElapsed(startedAt: number): string; export declare function eraseAndPaintRow(row: number, line?: string): string; export declare function buildBandMeta(logicalLines: readonly string[], width: number): BandRowMeta[]; export declare function scrollbackFlushLines(rows: readonly string[], meta: readonly BandRowMeta[] | undefined, count: number): string[]; export declare function snapFlushCountToLogicalBoundary(meta: readonly BandRowMeta[] | undefined, count: number, total: number): number; export declare function buildScrollbackArchiveEscape(lines: readonly string[], anchorFloor: number, bottomRow: number, width: number): string; export declare function formatTipRow(text: string, cols: number): string;