import type { AgentToolContext } from "@gajae-code/agent-core"; import { Settings } from "../config/settings"; import { type OutputSummary, type TerminalArtifactPublisher } from "../session/streaming-output"; export interface BashInteractiveResult extends OutputSummary { exitCode: number | undefined; cancelled: boolean; timedOut: boolean; } export declare function runInteractiveBashPty(ui: NonNullable, options: { command: string; cwd: string; timeoutMs: number; signal?: AbortSignal; env?: Record; artifactPath?: string; artifactId?: string; artifactPublisher?: TerminalArtifactPublisher; spillThreshold?: number; headBytes?: number; settings?: Settings; }): Promise;