/**
 * TUI renderers for the bash tool.
 *
 * renderBashCall: shows the command (or description) as a styled header.
 * renderBashResult: shows output with truncation/exit-code warnings.
 */
import { Text } from '../../../../tui/index.js';
import type { Theme } from '../../../theme/runtime.js';
interface BashRenderResult {
    isError?: boolean;
    details?: {
        exitCode?: number;
        cancelled?: boolean;
        timedOut?: boolean;
        truncation?: {
            truncated?: boolean;
            outputChars?: number;
            totalChars?: number;
        };
        fullOutputPath?: string;
    };
}
/** Render the bash tool call header — shows the command or description. */
export declare function renderBashCall(args: unknown, expanded: boolean, theme: Theme): Text;
/**
 * Render the bash tool result — output lines, truncation info, and status warnings.
 * Collapsed view shows a 2-line preview; expanded shows the full output.
 */
export declare function renderBashResult(result: BashRenderResult | undefined, expanded: boolean, textOutput: string, terminalColumns: number, theme: Theme): Text | undefined;
export {};
//# sourceMappingURL=bash.d.ts.map