export interface LocalTerminalCommand { program: string; arguments?: readonly string[]; cwd?: string; env?: Readonly>; } export type LocalTerminalRunner = (program: string, arguments_: readonly string[]) => Promise; export interface OpenLocalTerminalOptions { platform?: NodeJS.Platform; runner?: LocalTerminalRunner; } export declare function terminalShellCommand(command: LocalTerminalCommand): string; export declare function openLocalTerminal(command: LocalTerminalCommand, options?: OpenLocalTerminalOptions): Promise;