/** * Alias- and flag-scope-building for CommandParser (global + per-command * short-flag aliases, boolean/array flag sets). * File-size sweep: split out of parser.ts. Mixed into * CommandParser.prototype at the bottom of parser.ts. * * @module v1/cli/parser-aliases */ import type { CommandParser } from './parser.js'; import type { Command } from './types.js'; export declare const parserAliasMethods: { buildAliases(this: CommandParser): Record; /** * Build aliases scoped to a specific command/subcommand. * The resolved command's short flags take priority over global ones, * fixing collisions where multiple subcommands use the same short flag (e.g. -t). */ buildScopedAliases(this: CommandParser, scope?: Command | Command[]): Record; /** * Get boolean flags scoped to a specific command/subcommand chain. */ getScopedBooleanFlags(this: CommandParser, scope?: Command | Command[]): Set; /** * Get flags declared `type: 'array'`, scoped to a specific command/subcommand chain. */ getScopedArrayFlags(this: CommandParser, scope?: Command | Command[]): Set; getBooleanFlags(this: CommandParser): Set; }; //# sourceMappingURL=parser-aliases.d.ts.map