declare module 'binary-search-bounds' { interface BSearch { gt(array:T[], y:T, compare?:((a:T, b:T) => number | null | undefined), lo?:number, hi?:number); ge(array:T[], y:T, compare?:((a:T, b:T) => number | null | undefined), lo?:number, hi?:number); lt(array:T[], y:T, compare?:((a:T, b:T) => number | null | undefined), lo?:number, hi?:number); le(array:T[], y:T, compare?:((a:T, b:T) => number | null | undefined), lo?:number, hi?:number); eq(array:T[], y:T, compare?:((a:T, b:T) => number | null | undefined), lo?:number, hi?:number); } const bsearch:BSearch; export = bsearch; }