export interface ShellExecutable { readonly command: string; readonly argsPrefix: readonly string[]; readonly scriptExtension: "cmd" | "sh"; readonly scriptInvocation: (scriptPath: string) => string; } export interface PreparedShellCommand { readonly commandText: string; readonly originalCommandText: string; readonly commandLineCount: number; readonly commandFilePath?: string; } export declare function resolveUnixCommandShell(env?: NodeJS.ProcessEnv, exists?: (path: string) => boolean): string; export declare function shellExecutable(): ShellExecutable; export declare function prepareShellCommand(commandText: string, workspaceRoot: string, shell: ShellExecutable): Promise;