/**
 * TUI renderers for file operation tools (read, write, edit).
 *
 * Each tool has a renderCall (header) and renderResult (output/diff) function.
 * Write and edit renderers support live preview via ToolExecutionPreviewState
 * (syntax highlighting cache, diff preview).
 */
import { Text } from '../../../../tui/index.js';
import type { Theme } from '../../../theme/runtime.js';
import { type ToolExecutionPreviewState } from '../../runtime/tool-execution-types.js';
interface FileToolResult {
    isError?: boolean;
    details?: any;
}
export declare function renderReadCall(args: unknown, theme: Theme): Text;
export declare function renderReadResult(args: unknown, result: FileToolResult | undefined, expanded: boolean, textOutput: string, theme: Theme): Text | undefined;
export declare function renderWriteCall(args: unknown, expanded: boolean, preview: ToolExecutionPreviewState | undefined, theme: Theme): Text;
export declare function renderWriteResult(result: FileToolResult | undefined, textOutput: string, theme: Theme): Text | undefined;
export declare function renderEditCall(args: unknown, preview: ToolExecutionPreviewState | undefined, theme: Theme): Text;
export declare function renderEditResult(args: unknown, result: FileToolResult | undefined, expanded: boolean, textOutput: string, preview: ToolExecutionPreviewState | undefined, theme: Theme): Text | undefined;
export {};
//# sourceMappingURL=file-ops.d.ts.map