/** * Repeat given item the specified amount of times (can be `BigInt` or * `Infinity` times) as an iterable. * * @category Generators * @example * ```typescript * const repeat3Times = repeat(3); * repeat3Times("foo"); // ["foo", "foo", "foo"] * ``` * @param item Item to repeat. * @returns Curried function with `item` in context. */ export declare const repeat: (times: bigint | number) => (item: Item) => { readonly [Symbol.iterator]: () => IterableIterator; readonly next: (...args: [] | [undefined]) => IteratorResult; readonly return?: ((value?: any) => IteratorResult) | undefined; readonly throw?: ((e?: any) => IteratorResult) | undefined; };