/** * Consumes `atMost` elements from iterable and returns the consumed elements, * and an iterable for the rest of the elements. * * @param iterable The iterable target to consume * @param atMost The count at most to consume * * @example * * consume([1, 2, 3, 4]); //=> [[1, 2, 3, 4], Iterable<[]>] * consume([1, 2, 3, 4], 2); //=> [[1, 2], Iterable<[3, 4]>] */ export declare function consume(iterable: Iterable, atMost?: number): [T[], Iterable];