import { Operator } from '../core/types'; /** * @short * *Take first* several yielded values. * * @categories * operator * * @description * Only the first `count` values yielded from the source iterable are * propagated through this operator. * * This is a specialization of {@link takeWhile} and {@link takeUntil}. * * @since * 0.0.1 * * @parameter * count * The number of values to propagate through. * * @returns * Operator * * @throws * `RangeError` when the given `count` is not an integer or less than zero. * * @example * j.pipe( * 'jupiterate', * j.takeFirst(7), * ) * // => 'jupiter' */ export declare function takeFirst(count: number): Operator;