import type { PreparedShellCommand } from "./shellCommandPreparation.js"; export interface ShellCommandResult { readonly exitCode: number | null; readonly signal: NodeJS.Signals | null; readonly stdout: string; readonly stderr: string; readonly durationMs: number; readonly timedOut: boolean; readonly inactivityTimedOut: boolean; readonly watchdogInterrupted?: boolean; readonly outputSpilled: boolean; readonly outputFilePath?: string; readonly outputLineCount: number; readonly commandFilePath?: string; readonly commandLineCount: number; } interface ClosedShellCommandInput { readonly exitCode: number | null; readonly signal: NodeJS.Signals | null; readonly stdout: string; readonly stderr: string; readonly startedAt: Date; readonly timedOut: boolean; readonly inactivityTimedOut: boolean; readonly watchdogInterrupted?: boolean; readonly prepared: PreparedShellCommand; readonly agentId: string; readonly workspaceRoot: string; readonly cwd: string; } export declare function resolveClosedShellCommand(input: ClosedShellCommandInput): Promise; export {};