export declare function calculateContentWidth(indentLength: number): number; export declare function calculateProseContentWidth(indentLength: number): number; export declare function renderTextBlock(text: string, contentWidth: number, isCommit?: boolean): string; export declare function formatPendingBuffer(buffer: string, contentWidth: number, shouldRender: boolean): string; export declare function applyIndent(text: string, indentStr: string): string; export declare function formatBlockForCommit(blockText: string, indentStr: string, contentWidth: number): string; export declare function hasMarkdownContent(text: string): boolean; export declare function isInOpenCodeFence(text: string): boolean; export declare function isInOpenTable(text: string): boolean; export declare function findBlockBoundary(text: string): number; export declare function initLogUpdateModule(): Promise<{ (str: string): void; clear: () => void; } | null>; export interface OverlayRoutingParams { indented: string; overlayComposer: { markDirty(slot: string): void; flush(): void; } | null | undefined; compositor: { setOverlay(str: string): void; } | null; logUpdate: { (str: string): void; clear: () => void; } | null; } export declare function routeOverlayOutput(params: OverlayRoutingParams): boolean; export declare function accumulateCommitted(current: string, trimmed: string): string; export declare function scheduleWithThrottle(callback: () => void, throttleMs: number, currentTimer: NodeJS.Timeout | null, lastPaintTime: number): { timer: NodeJS.Timeout | null; paintTime: number; };