import { ParseOptions, Parsed } from "./types.js"; /** * parsing just for determining the current command * - only for deriving which command might be selected * - simply ignores anything with a "-" prefix * - returns array of strings that don't start with "-" */ export declare function commandParse(argw: string[]): string[]; /** * dumb command line parsing. * - accepts 'argx' which are the argv strings after the bin and script. * - doesn't know about commands. * - separates args into an array for you. * - separates params into a map for you. * - separates flags into a set for you. * - you can provide `booleanParams` which are parameters that don't accept values. */ export declare function parse(argx: string[], { booleanParams }?: ParseOptions): Parsed;