import type { Component } from "@oh-my-pi/pi-tui";
import { Container } from "@oh-my-pi/pi-tui";
import type { ToolExecutionHandle } from "./tool-execution.js";
export declare function readArgsHaveTarget(args: unknown): boolean;
export declare function readArgsTargetInternalUrl(args: unknown): boolean;
type ReadRenderArgs = {
    path?: string;
    file_path?: string;
    selector?: string;
    sel?: string;
};
type ReadToolGroupOptions = {
    showContentPreview?: boolean;
};
export declare class ReadToolGroupComponent extends Container implements ToolExecutionHandle {
    #private;
    constructor(options?: ReadToolGroupOptions);
    isTranscriptBlockFinalized(): boolean;
    finalize(): void;
    /**
     * Force the group terminal even if an entry never received its result (the
     * turn aborted or ended). Lets it freeze and stop pinning the transcript live
     * region instead of lingering on a pending preview until the next thaw.
     */
    seal(): void;
    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;
    setExpanded(expanded: boolean): void;
    getComponent(): Component;
}
export {};
