export type ShellInvocation = { shell: string; shellArgs: string[]; }; export type ShellInvocationOptions = { login?: boolean; userShell?: string; configuredShellPath?: string; shellExists?: (shellPath: string) => boolean; }; export type ExecuteShellCommandOptions = { onData?: (chunk: Buffer) => void; signal?: AbortSignal; timeoutMs?: number; env?: NodeJS.ProcessEnv; }; export declare function readConfiguredShellPath(filePath?: string): Promise; export declare function executeShellCommand(invocation: ShellInvocation, workdir: string, options?: ExecuteShellCommandOptions): Promise<{ exitCode: number | null; timedOut: boolean; aborted: boolean; }>; export declare function getShellEnv(): NodeJS.ProcessEnv; export declare function splitLeadingCdCommand(command: string): { workdir: string; command: string; } | null; export declare function stripTrailingBackgroundOperator(command: string): { command: string; stripped: boolean; }; export declare function resolveShellInvocation(command: string, options?: ShellInvocationOptions): ShellInvocation; //# sourceMappingURL=runtime.d.ts.map