export declare function contains(arr: T[], item: T): boolean; export declare function addRange(arr: T[], range: T[]): void; export declare function clear(arr: T[]): void; export declare function clone(arr: T[]): T[]; export declare function remove(arr: T[], item: T): boolean; export declare function removeAll(arr: T[], value: T): number; export declare function removeAll(arr: T[], predicate: (item: T, index: number) => boolean): number; /** * Executes an asynchronous function in parallel for all elements of the array. * @param func A function that returns a Promise for each item. * @param exceptUndefined Whether to exclude undefined results from the output (default: true). */ export declare function parallelAsync(list: T[], func: (item: T) => Q | Promise, exceptUndefined?: boolean): Promise[]>;