/** A closed set an option's answer comes from. */ export type Choices = { values: readonly string[]; /** True when the flag takes several of them, comma-separated. */ multiple: boolean; }; /** What deriving a set needs to know about one option or argument. */ export type ChoiceSource = { /** The declaration, placeholder and all: `--format `, ``. */ flags: string; /** Commander's own list, on the rare option that declares one. */ declared?: readonly string[]; }; /** The set an option offers, or undefined when its placeholder names a value. */ export declare function optionChoices(source: ChoiceSource): Choices | undefined; //# sourceMappingURL=optionChoices.d.ts.map