/** * Date: 2019-07-09 * Time: 21:54 * @license MIT (see project's LICENSE file) */ import { FailurePolicy } from "../types"; import { ArrayInsertLocation, ArraySearchCriteria } from "../types/mutation"; /** * Finds the insertion index * @throws {Error} */ export declare function findInsertLocation(array: T[], location: ArrayInsertLocation): number; /** * Find index with given criteria * @throws {Error} */ export declare function searchCriteriaToIndex(array: T[], criteria: ArraySearchCriteria, onFail?: FailurePolicy): number; //# sourceMappingURL=utils.d.ts.map