import type { CommandModule } from './command_module'; import { CommandType } from './command_type'; import { DynamicallyLoadedCommandRunner } from './dynamically_loaded_command_runner'; import type { IRunContext } from '../context'; export declare class WasmCommandRunner extends DynamicallyLoadedCommandRunner { readonly module: CommandModule; constructor(module: CommandModule); get commandType(): CommandType; run(context: IRunContext): Promise; /** * By default a WebAssembly command assumes stdin, stdout and stderr are terminals (TTYs). * If this is not the case, provide an input reading or output writing wrapper. * With this, WebAssembly commands can use `isatty` correctly. */ private _inputHandler; private _outputHandler; }