/** * Component for displaying bash command execution with streaming output. */ import { type TruncationResult } from "@caupulican/pi-agent-core/node"; import { Container, type TUI } from "@caupulican/pi-tui"; export declare class BashExecutionComponent extends Container { private command; private outputLines; private status; private exitCode; private loader; private truncationResult?; private fullOutputPath?; private expanded; private contentContainer; constructor(command: string, ui: TUI, excludeFromContext?: boolean); /** * Set whether the output is expanded (shows full output) or collapsed (preview only). */ setExpanded(expanded: boolean): void; invalidate(): void; appendOutput(chunk: string): void; setComplete(exitCode: number | undefined, cancelled: boolean, truncationResult?: TruncationResult, fullOutputPath?: string): void; private updateDisplay; /** * Get the bounded output tail retained for display and BashExecutionMessage rendering. * The execution controller owns any full-output artifact path. */ getOutput(): string; /** * Get the command that was executed. */ getCommand(): string; } //# sourceMappingURL=bash-execution.d.ts.map