/** * Bare-invocation detection (interactive-cli-menu/AC-3). * * The zero-argument case is dispatched by an argv guard evaluated *before* * `program.parseAsync()`, never by a root `.action()` handler. A root action * changes commander's unknown-command diagnostic from * `error: unknown command 'x'` to `error: too many arguments. Expected 0 * arguments but got 1: x.`, which would break the untouched-CLI contract * (interactive-cli-menu/AC-8). * * @module */ /** * Whether this is a bare `aidlc` invocation — no arguments, no flags. * * `argv` is a full Node argv: `[execPath, scriptPath, ...args]`, so "no * arguments" is length 2 exactly. Anything longer belongs to commander. */ export declare function isBareInvocation(argv: readonly string[]): boolean; //# sourceMappingURL=invocation.d.ts.map