1 | import { CommandOptionReturn, GeneralOptionFlags } from "./utils";
|
2 | export type BooleanFlags = GeneralOptionFlags;
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare function Boolean(descriptor: string, opts: BooleanFlags & {
|
11 | required: true;
|
12 | }): CommandOptionReturn<boolean>;
|
13 | export declare function Boolean(descriptor: string, opts?: BooleanFlags): CommandOptionReturn<boolean | undefined>;
|
14 | export declare function Boolean(descriptor: string, initialValue: boolean, opts?: Omit<BooleanFlags, 'required'>): CommandOptionReturn<boolean>;
|