import { ArgParser } from './argparser'; import { OutputOf } from './from'; import { ProvidesHelp, Descriptive, Displayed } from './helpdoc'; import { Type, HasType } from './type'; declare type PositionalParser> = ArgParser> & ProvidesHelp & Partial; declare type StringType = Type; /** * A positional command line argument. * * Decodes one argument that is not a flag or an option: * In `hello --key value world` we have 2 positional arguments — `hello` and `world`. * * @param config positional argument config */ export declare function positional>(config: HasType & Partial): PositionalParser; export declare function positional(config?: Partial & Displayed & Descriptive>): PositionalParser; export {};