import type { CliConfig } from './cli-config.js'; /** * True when `--` consumes the argument that follows it (`--banner` * takes an optional one, which still swallows the next non-flag token). * * Exported because whoever inspects raw argv before parsing — the version/help * detection in `cli.ts` — has to know that the `-v` in `--type-suffix -v` is a * *value*, not a request to print the version. */ export declare const flagTakesValue: (flagName: string) => boolean; /** * Parses command-line arguments into a partial CLI config. * Every flag accepts both kebab-case and camelCase (e.g. `--out-dir` and `--outDir`) * and supports either `--flag value` or `--flag=value` syntax. Boolean flags toggle * on by presence and accept `--flag=false` to opt out. Only flags that were explicitly * provided are returned so they can be layered on top of config file values. */ export declare const parseCliArgs: (args: readonly string[]) => Partial;