export declare function hasIntersection(a1: any[], a2: any[]): boolean; export declare function hasDifference(a1: any[], a2: any[]): boolean; /** * shallow comparison of two arrays, returns the unique values */ export declare function difference(a1: any[], a2: any[]): Array; /** * can be passed to javascript's sort method to sort an array of numbers numerically * @param a * @param b */ export declare const sortNumerically: (a: number, b: number) => number; /** * takes the array and buckets the numbers less than and greater than the provided split number; is non-inclusive of split */ export declare function bucketLessAndGreaterThan(a: number[], split: number): [number[], number[]]; /** * returns index of first occurence where provided comparator is truthy; defaults comparator to strict equality check */ export declare function indexOf(arrayToCheck: any[], comparator: (arrayValue: any) => boolean | any): number;