// Type definitions for minimist 1.1.3// Project: https://github.com/substack/minimist// Definitions by: Bart van der Schoor <https://github.com/Bartvds>, Necroskillz <https://github.com/Necroskillz>// Definitions: https://github.com/DefinitelyTyped/DefinitelyTypeddeclaremodule'minimist'{functionminimist(args?:string[],opts?:minimist.Opts):minimist.ParsedArgs;namespaceminimist{exportinterfaceOpts{// a string or array of strings argument names to always treat as stringsstring?:string|string[];// a string or array of strings to always treat as booleansboolean?:boolean|string|string[];// an object mapping string names to strings or arrays of string argument names to usealias?:{[key:string]:string|string[]};// an object mapping string argument names to default valuesdefault?:{[key:string]:any};// when true, populate argv._ with everything after the first non-optionstopEarly?:boolean;// a function which is invoked with a command line parameter not defined in the opts configuration object.// If the function returns false, the unknown option is not added to argvunknown?:(arg:string)=>boolean;// when true, populate argv._ with everything before the -- and argv['--'] with everything after the --'--'?:boolean;}exportinterfaceParsedArgs{[arg:string]:any;_:string[];}}export=minimist;}