/** * Calls `visit(index, state)` for every character outside quotes, escapes, comments, and the * structural `$(` / `(` / `)` of a substitution. `state` belongs to the current `$(...)` level. The * visitor returns the next index to consume from, or `undefined` to advance by one. Backslash * escapes consume the following character, even inside double quotes, and a `#` at the start or * after whitespace ends the text. */ export declare function walkUnquotedShell(text: string, createState: () => State, visit: (index: number, state: State) => number | undefined): void;