1 | import * as args from './args';
|
2 | import * as flags from './flags';
|
3 | import { OutputArgs, OutputFlags, ParserOutput as Output } from './parse';
|
4 | export { args };
|
5 | export { flags };
|
6 | export { flagUsages } from './help';
|
7 | export declare type Input<TFlags extends flags.Output> = {
|
8 | flags?: flags.Input<TFlags>;
|
9 | args?: args.Input;
|
10 | strict?: boolean;
|
11 | context?: any;
|
12 | '--'?: boolean;
|
13 | };
|
14 | export declare function parse<TFlags, TArgs extends {
|
15 | [name: string]: string;
|
16 | }>(argv: string[], options: Input<TFlags>): Output<TFlags, TArgs>;
|
17 | export { OutputFlags, OutputArgs, Output };
|