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 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 prepared: PreparedShellCommand;
    readonly workspaceRoot: string;
    readonly cwd: string;
}
export declare function resolveClosedShellCommand(input: ClosedShellCommandInput): Promise<ShellCommandResult>;
export {};
//# sourceMappingURL=shellCommandResult.d.ts.map