1 | import { IConfig } from '@oclif/config';
|
2 | import { HelpBase, HelpOptions } from '.';
|
3 | export declare function uniqBy<T>(arr: T[], fn: (cur: T) => any): T[];
|
4 | export declare function compact<T>(a: (T | undefined)[]): T[];
|
5 | export declare function castArray<T>(input?: T | T[]): T[];
|
6 | export declare function sortBy<T>(arr: T[], fn: (i: T) => sort.Types | sort.Types[]): T[];
|
7 | export declare namespace sort {
|
8 | type Types = string | number | undefined | boolean;
|
9 | }
|
10 | export declare function template(context: any): (t: string) => string;
|
11 | interface HelpBaseDerived {
|
12 | new (config: IConfig, opts?: Partial<HelpOptions>): HelpBase;
|
13 | }
|
14 | export declare function getHelpClass(config: IConfig, defaultClass?: string): HelpBaseDerived;
|
15 | export {};
|