/** * Returns the size of the given collection. * * @since 1.0.0 * * @param {Array|Object|string} collection - The collection to determine the size of. * @returns {number} - The size of the collection. * * @example * size([1, 2, 3]); // => 3 * size({a: 1, b: 2, c: 3}); // => 3 * size('hello'); // => 5 */ declare const size: (collection: any[] | Object | string) => number; export default size;