export type ShellTokenKind = "arg" | "operator" | "pipe" | "redirect"; export interface ShellToken { kind: ShellTokenKind; value: string; } export type ShellCommandDialect = "posix" | "powershell"; /** Tokenize one simple command while preserving the pre-existing quote/escape contract. */ export declare function tokenizeCommand(command: string, dialect?: ShellCommandDialect): string[] | null; /** Tokenize a shell command and expose quote-aware command boundaries and redirects. */ export declare function tokenizeShellCommand(command: string, dialect?: ShellCommandDialect): ShellToken[] | null; export interface ParsedCommand { envVars: Record; coreCommandTokens: string[]; } export declare function parseCommandPrefixes(command: string, dialect?: ShellCommandDialect): ParsedCommand | null; export declare function isComplexShellCommand(command: string): boolean; //# sourceMappingURL=shell-command-parser.d.ts.map