/** Whether a command word runs bash, sh, or zsh, by any path. */ export declare function isShellWord(word: string): boolean; /** The index of the script a `bash` / `sh` / `zsh -c` word at `index` runs, if it runs one. */ export declare function shellScriptOperandIndex(words: readonly string[], index: number): number | undefined; export type ShellScriptArgument = { script: string; shellIndex: number; }; /** * The quoted or ANSI-C quoted scripts that `bash` / `sh` / `zsh -c` run in raw command text, each * with the index where its shell word's match starts. */ export declare function findShellScriptArguments(command: string): ShellScriptArgument[];