export declare const THINKING_BODY_MAX_ROWS = 20; export declare function wrapThinkingBody(content: string, width: number, streaming: boolean): string[]; export declare function createLiveThinkingWrap(width: number): (content: string) => string[]; export interface ThinkingViewport { readonly rows: number; readonly offset: number; readonly maxOffset: number; readonly hiddenAbove: number; readonly hiddenBelow: number; } export declare function resolveThinkingViewport(input: { readonly lineCount: number; readonly offset: number; readonly maxRows?: number | undefined; }): ThinkingViewport; export type ThinkingPresentation = { readonly heading: string; readonly borderTitle: undefined; readonly layout: "line"; readonly showBody: false; } | { readonly heading: string; readonly borderTitle: string; readonly layout: "card"; readonly showBody: true; }; export declare function thinkingTokenEstimate(content: string): number; export declare function resolveThinkingPresentation(input: { readonly streaming: boolean; readonly expanded: boolean; readonly elapsed?: string | undefined; readonly content: string; }): ThinkingPresentation; export interface ThinkingHeadingStyle { readonly fg: string; readonly underline: boolean; } export declare function resolveThinkingFooter(input: { readonly focused: boolean; readonly hiddenAbove: number; readonly hiddenBelow: number; }): string | undefined; export declare function resolveThinkingHeadingStyle(input: { readonly hovered: boolean; readonly accent: string; readonly hover: string; }): ThinkingHeadingStyle;