export interface ParseIntArgOptions { /** Inclusive lower bound. */ min?: number; /** Inclusive upper bound. */ max?: number; /** * Value returned when `raw` is undefined or an empty string. * If omitted, undefined input throws INVALID_PARAMETER. */ default?: number; } /** * Parse an integer received from a Commander option string. * * Commander does not validate `parseInt` results, so an input like "abc" * silently yields NaN and downstream comparisons (`NaN < 0` etc.) all * return false, allowing invalid values to reach the API layer. This * helper centralises the validation: NaN, non-integer, and out-of-range * inputs all turn into a structured INVALID_PARAMETER error. */ export declare function parseIntArg(raw: string | undefined, flagName: string, options?: ParseIntArgOptions): number; //# sourceMappingURL=parse-int-arg.d.ts.map