/** * given an array of items sorted by `comparator`, insert an item into its sort index and constrain the size to * `maxSize` by removing the last item * * @param items * @param add * @param maxSize * @param comparator * @returns */ export declare function sortedInsert(items: T[], add: T, maxSize: number, comparator: (a: T, b: T) => number): T | null; //# sourceMappingURL=sortedInsert.d.ts.map