import type { Arguments, ParsedOptions, Registrar } from '@kui-shell/core'; /** * Command handler that dispatches to an outer shell * */ export declare const dispatchToShell: ({ tab, REPL, command, argv, argvNoOptions, execOptions, parsedOptions, createOutputStream }: Arguments) => Promise; /** * Execute the given command using a pty, but return a string * */ export declare function doExecWithStdoutViaPty(args: Arguments): Promise; /** * On preload, register the catchall handler * */ export declare const preload: (commandTree: Registrar) => Promise;