import type { ArgParser } from "./argparser"; import type { OutputOf } from "./from"; import type { Descriptive, Displayed, ProvidesHelp } from "./helpdoc"; import type { HasType, Type } from "./type"; type PositionalParser> = ArgParser> & ProvidesHelp & Partial; 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 {};