import type { BandRowMeta } from './terminal-compositor.types.js'; export interface BandReflowResult { rows: string[]; paintedRows: number; meta: BandRowMeta[]; } export declare function reflowBandSplit(band: readonly string[], paintedRows: number, width: number, meta?: readonly BandRowMeta[]): BandReflowResult; export interface BandReflowCache { readonly band: readonly string[]; readonly paintedRows: number; readonly width: number; } export interface BandReflowHost { committedBand: string[]; committedBandMeta: BandRowMeta[]; committedBandPaintedRows: number; bandReflowCache: BandReflowCache | null; } export declare function reflowCommittedBandToWidth(self: BandReflowHost, width: number): void; export declare function withAutowrapDisabled(stream: NodeJS.WriteStream, paint: () => void): void;