/** * Resolve which (sub)command an invocation targets. * * The parser reports the matched command path (for example * ['hooks', 'transfer', 'store', 'search']) and the remaining positional arguments. * Resolution walks the whole path through each command's `subcommands`, so a command * can sit at any depth. #4157: it used to stop two levels below the top-level command, * so `hooks transfer store search` ran the `store` help instead of `search`. */ import type { Command } from './types.js'; export declare function resolveTargetCommand(command: Command, commandPath: string[], positional: string[]): { target: Command; args: string[]; }; //# sourceMappingURL=command-resolution.d.ts.map