import type { compareFn, mapFn } from './_types'; /** * Binary searches rightmost value in sorted array. * @param x an array (sorted) * @param v search value * @param fc compare function (a, b) * @param fm map function (v, i, x) * @returns last index of value | ~(index of closest value) */ declare function bsearchRight(x: T[], v: T, fc?: compareFn, fm?: mapFn): number; export default bsearchRight; //# sourceMappingURL=index.d.ts.map