import types from './types'; declare function binarySearch( array: any[], val: any, cmp?: types.AnyFn ): number; export default binarySearch;