/** * Binary Search * * @param array Sorted Array * @param predicate A function that return -1, 0, or 1 * - [-1] The value is greater than what you search * - [1] The value is lesser than what you search * - [0] Both value are equals * @returns {number} The index of the value, or -1 if not found */ export declare function binarySearch(array: any[], predicate: (value: any) => number): number;