/*! * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project. */ /** * Performs numerical comparison */ export declare function DEFAULT_COMPARE(item1: T, item2: T): number; /** * Performs a binary search on the given array * @param array - The array of numbers to search * @param item - The item to look for * @returns index of found item */ export declare function binarySearch(array: T[], item: T, compare?: typeof DEFAULT_COMPARE): number;