/**
 * Pure helper: slices a bounded tail from a potentially huge streaming
 * message so that downstream work (trim, wrap, split) is always O(tail)
 * rather than O(full message). Exported for unit testing.
 *
 * Strategy: slice from the raw message FIRST (no full-string allocation),
 * then trim only the small tail. Snap the slice start backward to the
 * nearest preceding newline so we always start at a clean line boundary
 * (avoids partial first lines even on messages with very long single lines).
 */
export declare function computeStreamingTail(message: string, textWidth: number, maxLines: number): {
    tail: string;
    sliced: boolean;
};
/**
 * Lightweight streaming message component. Shows the last N lines of
 * plain text to avoid expensive markdown parsing and terminal reflow
 * on every token update. The final AssistantMessage handles full rendering.
 */
declare const _default: import("react").NamedExoticComponent<{
    message: string;
    model: string;
}>;
export default _default;
//# sourceMappingURL=streaming-message.d.ts.map