export declare const getGroupKey: (lvl: unknown) => string; export declare function normalizeTreeToArray(keys: string[], treeLeafKey: string, obj: Record): Record[]; export declare function flatten(input: any[]): any[]; export declare function group(values: Record[], grp: string, keys: string[], treeLeafKey: string, mainGrp?: string, mainValue?: any, groups?: string[], allGroups?: string[], groupIndex?: number): Record[]; export declare function index(values: any[], key: string): string; export declare function sort(values: any[], key?: string): void; export declare function sum(values: any[], key?: string): number; export declare function requireVersion(pkg: string, min: string, ver: string, strict?: boolean): boolean;