import { type OperatorFunction } from 'rxjs'; /** * Counts how many times the source observable emits. * @since 1.0.0 * @kind Operator * @param emitInitialZero If set to true, it will immediately emit 0 when subscribed to * @example * import {of} from 'rxjs'; * import {countEmissions} from '@aloreljs/rxutils/operators'; * * of('foo', 'bar', 'qux') * .pipe(countEmissions()) * .subscribe() // emits 1, then 2, then 3 and completes */ export declare function countEmissions(emitInitialZero?: boolean): OperatorFunction;