export declare function sum(arr: number[]): number; export declare function dropWhile(f: (elt: T) => boolean, arr: T[]): T[]; export declare function takeWhile(f: (elt: T) => boolean, arr: T[]): T[]; export declare function timeSlow(label: string, thunk: () => T): T; export declare function groupBy(inGroup: (x: T, y: T) => boolean, arr: T[]): T[][]; export declare function parseArg(convert: (arg: string) => T, validate: (parsed: T) => boolean, error: string): (arg: any) => any; export declare function unreachable(): never;