export declare class Sequence { private readonly produce; private counter; constructor(produce: (n: number) => T); /** * Returns the next item in the sequence. */ next(): T; /** * Returns the next _n_ items in the sequence. * * @param n The number of items to take from the sequence. */ take(n: number): T[]; }