import type { Component } from "@gajae-code/tui"; import { Container } from "@gajae-code/tui"; import type { ToolExecutionHandle } from "./tool-execution"; export declare function readArgsHaveTarget(args: unknown): boolean; export declare function readArgsTargetInternalUrl(args: unknown): boolean; type ReadRenderArgs = { path?: string; file_path?: string; sel?: string; }; export declare class ReadToolGroupComponent extends Container implements ToolExecutionHandle { #private; constructor(options?: { showContentPreview?: boolean; }); updateArgs(args: ReadRenderArgs, toolCallId?: string): void; updateResult(result: { content: Array<{ type: string; text?: string; }>; details?: unknown; isError?: boolean; }, isPartial?: boolean, toolCallId?: string): void; setArgsComplete(_toolCallId?: string): void; /** Applies automatic expansion unless this renderer instance has an explicit fold choice. */ setExpanded(expanded: boolean): void; /** * Applies and pins an explicit fold choice for this renderer instance only. * Transcript rebuilds recreate components from global state and drop this pin. */ setManuallyExpanded(expanded: boolean): void; getComponent(): Component; consumeVisibleTranscriptChange(): boolean; } export {};