/**
 * ToolExecutionComponent — the TUI component for a single tool call.
 *
 * Manages the lifecycle of a tool call from argument streaming through result display.
 * Handles syntax highlighting (write), diff preview (edit), image rendering,
 * expanded/collapsed state, and a blinking progress indicator.
 */
import type { ToolDefinition } from '../../../core/core-types.js';
import { Container, type TUI } from '../../../tui/index.js';
import { type ToolExecutionOptions, type ToolExecutionResult } from './tool-execution-types.js';
export { type ToolExecutionOptions } from './tool-execution-types.js';
export declare class ToolExecutionComponent extends Container {
    private contentBox;
    private contentText;
    private imageComponents;
    private imageSpacers;
    private toolName;
    private args;
    private expanded;
    private showImages;
    private isPartial;
    private toolDefinition?;
    private ui;
    private cwd;
    private result?;
    private editDiffPreview?;
    private editDiffArgsKey?;
    private convertedImages;
    private writeHighlightCache?;
    private hideComponent;
    private summaryText?;
    private grouped;
    private blinkOn;
    private blinkTimer?;
    onGroupUpdate?: () => void;
    constructor(toolName: string, args: any, options: ToolExecutionOptions | undefined, toolDefinition: ToolDefinition | undefined, ui: TUI, cwd?: string);
    private startBlink;
    private getPresentation;
    private getRenderState;
    private formatGenericFallback;
    updateArgs(args: any): void;
    setArgsComplete(): void;
    private maybeComputeEditDiff;
    updateResult(result: ToolExecutionResult, isPartial?: boolean): void;
    setSummary(summary: string): void;
    private maybeConvertImagesForKitty;
    setGrouped(grouped: boolean): void;
    getArgs(): any;
    getResult(): ToolExecutionResult | undefined;
    getIsPartial(): boolean;
    setExpanded(expanded: boolean): void;
    setShowImages(show: boolean): void;
    invalidate(): void;
    render(width: number): string[];
    private stopBlink;
    dispose(): void;
    private updateDisplay;
    private clearImageChildren;
    private getTextOutput;
    private getFullWriteHighlightCache;
    private getIncrementalWriteHighlightCache;
}
//# sourceMappingURL=tool-execution.d.ts.map