/**
 * Turns raw `process.argv` into the fully-resolved ParsedCLI object that command dispatch consumes.
 * It owns the whole front door: positional command detection, per-flag validation, per-command
 * positional grammars (quality/skill/events/hooks each have their own arity rules), and cross-flag
 * checks that strict parseArgs can't express. The deliberate contract is fail-fast for malformed
 * commands, flags, values, or combinations, throwing CLIError with exit code 2 (usage error) and a
 * human-readable message, so the entry point can print it and exit without a stack trace. Path
 * positionals are resolved to absolute paths here so downstream handlers never see relative input.
 */
import { type ParsedCLI } from "./cli-types.js";
/**
 * Parse raw CLI argv into structured command options.
 * Throws CLIError when a command, flag, positional, or value combination is invalid.
 *
 * @param argv - raw CLI arguments after the executable and script path
 * @returns normalized options consumed by command dispatch
 */
export declare function parseCLIArgs(argv: string[]): ParsedCLI;
/** Remove heavy per-check detail payloads from compact JSON audit output. */
//# sourceMappingURL=cli-parser.d.ts.map