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