import { type CommandPrefix } from '../shell-parse/index.mts'; export declare function commandSegmentStart(tokens: string[], index: number): number; /** * The wrapper chain before `tokens[index]` in its command segment, or null when `tokens[index]` * is an argument rather than the command the shell runs. See shell-command-wrappers.mts. */ export declare function commandPrefixAt(tokens: string[], index: number): CommandPrefix | null;