/** * Implementation of Combinations * Combinations are unique subsets of a collection - in this case, k x from a collection at a time. * https://en.wikipedia.org/wiki/Combination * @param {Array} x any type of data * @param {int} k the number of objects in each group (without replacement) * @returns {Array} array of permutations * @example * combinations([1, 2, 3], 2); // => [[1,2], [1,3], [2,3]] */ declare function getCombinations(x: any, k: any): any; export default getCombinations;