import types = require('./types'); declare function insertionSort(arr: any[], cmp?: types.AnyFn): any[]; export = insertionSort;