/** * True when the invocation is a request for help rather than an action — no * command, or `--help`/`-h` anywhere in the args. The dispatcher checks this * BEFORE routing to a verb so that `login --help`, `create --help`, etc. print * usage instead of running the (side-effectful) verb. */ export declare function isHelpInvocation(args: string[]): boolean; /** * True for `vincentt --version` / `-v` — the flag form, as the FIRST argument * only. Unlike `--help`, this is deliberately not honored anywhere in the args: * `--help` is safe to obey late because it cancels the action, whereas treating * a trailing `-v` on `vincentt publish -v` as "print the version" would silently * skip a publish the creator asked for. Anywhere else it stays an unknown flag. */ export declare function isVersionInvocation(args: string[]): boolean; /** * Flags that stand alone; every other `--flag` consumes the next argument. * * A boolean flag missing from this set silently eats the argument after it. For * `vincentt assets add --download lib_7f3a…` that would swallow the asset id and * leave the command with nothing to resolve, so every new boolean belongs here at * the moment it is introduced. */ export declare const BOOLEAN_FLAGS: Set; export declare function refusedFlag(args: string[]): string | undefined; /** * The bare arguments, with flag VALUES removed. Without this, `vincentt link --dir * /tmp 66f1` reads `/tmp` as the project id — a wrong-but-plausible value, which is * the worst kind for an identifier that decides which project a folder points at. */ export declare function positionalArgs(args: string[]): string[];