import { IEnumerable } from '../types'; /** * Creates a new Enumerable from the input Iterable. * @example * ```typescript * const numbers = [1, 2, 3, 4]; * const enumerable = from(numbers); * ``` * @typeparam TSource The type of the Iterable. * @param src The Iterable to create an Enumerable from. * @returns A new Enumerable. */ export declare function from(src: Iterable): IEnumerable; /** * Creates a new Enumerable from the input Iterable. * @example * ```typescript * const obj = { foo: 'bar' }; * const enumerable = from(obj); * ``` * @typeparam TSource The type of the object. * @param src The object to create an Enumerable from. * @returns A new Enumerable. */ export declare function fromObject(src: TSource): IEnumerable<[keyof TSource, TSource[keyof TSource]]>; //# sourceMappingURL=from.d.ts.map