import { ArgParser } from './argparser'; import { OutputOf } from './from'; import { Type, HasType } from './type'; import { ProvidesHelp, Displayed, Descriptive } from './helpdoc'; declare type StringType = Type; declare type RestPositionalsParser> = ArgParser[]> & ProvidesHelp; /** * Read all the positionals and decode them using the type provided. * Works best when it is the last item on the `command` construct, to be * used like the `...rest` operator in JS and TypeScript. * * @param config rest positionals argument config */ export declare function restPositionals>(config: HasType & Partial): RestPositionalsParser; export declare function restPositionals(config?: Partial & Displayed & Descriptive>): RestPositionalsParser; export {};