export declare function cmdContext(flags: Map, subcommand?: string): Promise;