import { type ParseArgsConfig } from "node:util"; type Options = NonNullable; /** * `parseArgs` throws a plain `TypeError` on an unknown flag or a missing * value, which would surface as a stack trace. Every one of them is a usage * mistake and reads as one. */ export declare const parseOptions: (args: readonly string[], options: Config) => { values: Record; positionals: string[]; }; export declare const readString: (value: unknown, flag: string) => string | undefined; export declare const readBoolean: (value: unknown) => boolean; export declare const readInt: (value: unknown, flag: string, fallback: number) => number; export declare const readList: (value: unknown, flag: string) => string[] | undefined; export declare const expectOne: (positionals: readonly string[], what: string) => string; export {}; //# sourceMappingURL=args.d.ts.map