import { type CommandOutputEvent, type CommandOutputSink } from "./commandOutputEvents.js"; import { type ShellCommandResult } from "./shellCommandResult.js"; export type { CommandOutputEvent, CommandOutputSink }; export interface RunShellCommandOptions { readonly commandText: string; readonly agentId: string; readonly workspaceRoot: string; readonly cwd: string; readonly timeoutMs: number; readonly inactivityTimeoutMs: number; readonly onOutput?: CommandOutputSink; readonly watchdogSignal?: Promise; } export type { ShellCommandResult }; export declare function runShellCommand(options: RunShellCommandOptions): Promise;