import { stripUnquotedShellComments } from './shell-tokenizer-comments.mts'; export type ShellWord = { expandable: boolean; operator?: true; value: string; }; export type ShellTokenizeOptions = { /** Keep `(` and `)` inside words instead of emitting them as operator tokens. */ keepParentheses?: boolean; /** Tag command-separator tokens (`;`, `&`, `&&`, `|`, `||`, `(`, `)`, newline) with `operator`. */ markOperators?: boolean; splitRedirections?: boolean; }; export declare function tokenizeShellWordsDetailed(command: string, options?: ShellTokenizeOptions): ShellWord[]; export declare function tokenizeShellWords(command: string, options?: ShellTokenizeOptions): string[]; export { stripUnquotedShellComments };