/** * Returns the index of the specified item in a sorted array. */ export declare function binarySearch(sortedArray: T[], target: T, comparator?: (target: T, arrayItem: T) => number): number;