/** * Search for an item in a sorted array. * The value returned is either the position of the item or where it should be inserted. */ export declare function binarySearch(arr: Array, item: T): number;