/** * @packageDocumentation * @module Number */ import { MonoTypeOperatorFunction, Subscribable } from 'rxjs'; /** * Returns an Observable that emits a number that is the division of the source number with input number * * @category Math * * @param num The number to divide to the source value * * @remarks If the input value is `0` this operator will throw an error * * @example Returns a number that is the division of source and input * ```ts * const input = [4, 10, 12, 18, 20]; * from(input).pipe(div(2)).subscribe(); * ``` * Output: `2, 5, 6, 9, 10` * * @returns Observable that emits a number that is the division of source and input */ export declare function div(num: Subscribable | number): MonoTypeOperatorFunction;