/** * `omp zsh|bash|sh [args...]`: the pi-shell engine as a process shell, run * in this process through the native `runShellMain`. * * The argv after `omp` reaches the shell untouched (`omp zsh --help`, `-c`, * `-i`, `-l`, `--emulate`, scripts), its first word becoming the shell's * `argv[0]` (which picks the dialect). `cli.ts` dispatches here before the * command framework loads; the registered `zsh`/`bash`/`sh` commands exist * for `omp --help` and the generated completions. */ /** The shells `omp` runs natively, by command word. */ export declare const NATIVE_SHELLS: Readonly>; /** Whether `word` (the first argv word) names a native shell. */ export declare function isNativeShell(word: string | undefined): word is string; /** * Run the shell `argv[0]` names with the rest of `argv` as its command line, * then exit the process with its status. */ export declare function runNativeShell(argv: string[]): Promise;