import React from 'react'; export declare const MAX_STREAM_DISPLAY_CHARS = 480; /** Fixed layout height of the live tool-stream tail for scroll-range math. */ export declare function toolStreamBoxHeight(name: string): number; /** * Build the CONSTANT-height content block for the live tool-stream box: always * exactly `maxLines` rows, newest-pinned-to-bottom, every line truncated to * `contentWidth` so nothing wraps. Holding the row count fixed is what stops the * live region from growing (and thus scrolling the terminal + leaking the header * into scrollback) as output streams in. Pure + exported for testing. */ export declare function streamBoxRows(text: string, maxLines: number, contentWidth: number): Array<{ text: string; italic?: boolean | undefined; }>; export declare const ToolStreamBox: React.MemoExoticComponent<({ name, text, startedAt, termWidth, }: { name: string; text: string; startedAt: number; termWidth: number; }) => React.ReactElement>; export declare function tailForDisplay(text: string, maxChars: number): string; //# sourceMappingURL=stream-box.d.ts.map