import type { IsomorphicIterable } from "@vangware/types"; import type { GeneratorOutput } from "./types/GeneratorOutput.js"; /** * Take the given amount of items from the iterable or asynchronous iterable. * * @category Generators * @example * ```typescript * const take2 = take(2); * take2([1, 2, 3, 4, 5]); // [1, 2] * ``` * @param amount Amount of items to take. * @returns Curried function with `amount` in context. */ export declare const take: ( amount: bigint | number, ) => ( iterable: Iterable_1, ) => GeneratorOutput;