/** * @packageDocumentation * @module Number */ import { MonoTypeOperatorFunction, Subscribable } from 'rxjs'; /** * Returns an Observable that emits a number that is the remainder of the Modulo operation of the source number * by the divider * * @category Math * * @param modulus The dividing number for the Modulo operation * * @example Return the remainder of modulus `3` * ```ts * const input = [2, 3, 4, 5, 6]; * from(input).pipe(mod(3)).subscribe(); * ``` * Output: `2, 0, 1, 2, 0` * * @returns Observable that emits a number that is reminder of a Modulo operation */ export declare function mod(modulus: Subscribable | number): MonoTypeOperatorFunction;