import { Container } from "@earendil-works/pi-tui";
import type { ToolExecutionResult } from "./tool-execution-types.ts";
export type ToolExecutionImageOptions = {
    readonly showImages: boolean;
    readonly maxWidthCells: number;
    readonly showRendererFallback: boolean;
};
export declare class ToolExecutionImages extends Container {
    private readonly onAsyncChange;
    private result?;
    private resultGeneration;
    private readonly convertedImages;
    private options;
    constructor(onAsyncChange: () => void);
    updateOptions(options: ToolExecutionImageOptions): void;
    updateResult(result: ToolExecutionResult): void;
    private imageBlocks;
    private pruneConvertedImages;
    private maybeConvertImagesForKitty;
    private rebuild;
    private addImageComponent;
}
//# sourceMappingURL=tool-execution-images.d.ts.map