/**
 * This module provides utility functions and type class instances for working with the `number` type in TypeScript.
 * It includes functions for basic arithmetic operations, as well as type class instances for
 * `Equivalence` and `Order`.
 *
 * @since 2.0.0
 */
import * as equivalence from "./Equivalence.js";
import type { Option } from "./Option.js";
import * as order from "./Order.js";
import type { Ordering } from "./Ordering.js";
/**
 * Tests if a value is a `number`.
 *
 * @param input - The value to test.
 *
 * @example
 * ```ts
 * import { isNumber } from "effect/Number"
 *
 * assert.deepStrictEqual(isNumber(2), true)
 * assert.deepStrictEqual(isNumber("2"), false)
 * ```
 *
 * @category guards
 * @since 2.0.0
 */
export declare const isNumber: (input: unknown) => input is number;
/**
 * Provides an addition operation on `number`s.
 *
 * @param self - The first operand.
 * @param that - The second operand.
 *
 * @example
 * ```ts
 * import { sum } from "effect/Number"
 *
 * assert.deepStrictEqual(sum(2, 3), 5)
 * ```
 *
 * @category math
 * @since 2.0.0
 */
export declare const sum: {
    /**
     * Provides an addition operation on `number`s.
     *
     * @param self - The first operand.
     * @param that - The second operand.
     *
     * @example
     * ```ts
     * import { sum } from "effect/Number"
     *
     * assert.deepStrictEqual(sum(2, 3), 5)
     * ```
     *
     * @category math
     * @since 2.0.0
     */
    (that: number): (self: number) => number;
    /**
     * Provides an addition operation on `number`s.
     *
     * @param self - The first operand.
     * @param that - The second operand.
     *
     * @example
     * ```ts
     * import { sum } from "effect/Number"
     *
     * assert.deepStrictEqual(sum(2, 3), 5)
     * ```
     *
     * @category math
     * @since 2.0.0
     */
    (self: number, that: number): number;
};
/**
 * Provides a multiplication operation on `number`s.
 *
 * @param self - The first operand.
 * @param that - The second operand.
 *
 * @example
 * ```ts
 * import { multiply } from "effect/Number"
 *
 * assert.deepStrictEqual(multiply(2, 3), 6)
 * ```
 *
 * @category math
 * @since 2.0.0
 */
export declare const multiply: {
    /**
     * Provides a multiplication operation on `number`s.
     *
     * @param self - The first operand.
     * @param that - The second operand.
     *
     * @example
     * ```ts
     * import { multiply } from "effect/Number"
     *
     * assert.deepStrictEqual(multiply(2, 3), 6)
     * ```
     *
     * @category math
     * @since 2.0.0
     */
    (that: number): (self: number) => number;
    /**
     * Provides a multiplication operation on `number`s.
     *
     * @param self - The first operand.
     * @param that - The second operand.
     *
     * @example
     * ```ts
     * import { multiply } from "effect/Number"
     *
     * assert.deepStrictEqual(multiply(2, 3), 6)
     * ```
     *
     * @category math
     * @since 2.0.0
     */
    (self: number, that: number): number;
};
/**
 * Provides a subtraction operation on `number`s.
 *
 * @param self - The first operand.
 * @param that - The second operand.
 *
 * @example
 * ```ts
 * import { subtract } from "effect/Number"
 *
 * assert.deepStrictEqual(subtract(2, 3), -1)
 * ```
 *
 * @category math
 * @since 2.0.0
 */
export declare const subtract: {
    /**
     * Provides a subtraction operation on `number`s.
     *
     * @param self - The first operand.
     * @param that - The second operand.
     *
     * @example
     * ```ts
     * import { subtract } from "effect/Number"
     *
     * assert.deepStrictEqual(subtract(2, 3), -1)
     * ```
     *
     * @category math
     * @since 2.0.0
     */
    (that: number): (self: number) => number;
    /**
     * Provides a subtraction operation on `number`s.
     *
     * @param self - The first operand.
     * @param that - The second operand.
     *
     * @example
     * ```ts
     * import { subtract } from "effect/Number"
     *
     * assert.deepStrictEqual(subtract(2, 3), -1)
     * ```
     *
     * @category math
     * @since 2.0.0
     */
    (self: number, that: number): number;
};
/**
 * Provides a division operation on `number`s.
 *
 * @param self - The dividend operand.
 * @param that - The divisor operand.
 *
 * @example
 * ```ts
 * import { Number, Option } from "effect"
 *
 * assert.deepStrictEqual(Number.divide(6, 3), Option.some(2))
 * assert.deepStrictEqual(Number.divide(6, 0), Option.none())
 * ```
 *
 * @category math
 * @since 2.0.0
 */
export declare const divide: {
    /**
     * Provides a division operation on `number`s.
     *
     * @param self - The dividend operand.
     * @param that - The divisor operand.
     *
     * @example
     * ```ts
     * import { Number, Option } from "effect"
     *
     * assert.deepStrictEqual(Number.divide(6, 3), Option.some(2))
     * assert.deepStrictEqual(Number.divide(6, 0), Option.none())
     * ```
     *
     * @category math
     * @since 2.0.0
     */
    (that: number): (self: number) => Option<number>;
    /**
     * Provides a division operation on `number`s.
     *
     * @param self - The dividend operand.
     * @param that - The divisor operand.
     *
     * @example
     * ```ts
     * import { Number, Option } from "effect"
     *
     * assert.deepStrictEqual(Number.divide(6, 3), Option.some(2))
     * assert.deepStrictEqual(Number.divide(6, 0), Option.none())
     * ```
     *
     * @category math
     * @since 2.0.0
     */
    (self: number, that: number): Option<number>;
};
/**
 * Provides a division operation on `number`s.
 *
 * Throws a `RangeError` if the divisor is `0`.
 *
 * @param self - The dividend operand.
 * @param that - The divisor operand.
 *
 * @example
 * ```ts
 * import { unsafeDivide } from "effect/Number"
 *
 * assert.deepStrictEqual(unsafeDivide(6, 3), 2)
 * ```
 *
 * @category math
 * @since 2.0.0
 */
export declare const unsafeDivide: {
    /**
     * Provides a division operation on `number`s.
     *
     * Throws a `RangeError` if the divisor is `0`.
     *
     * @param self - The dividend operand.
     * @param that - The divisor operand.
     *
     * @example
     * ```ts
     * import { unsafeDivide } from "effect/Number"
     *
     * assert.deepStrictEqual(unsafeDivide(6, 3), 2)
     * ```
     *
     * @category math
     * @since 2.0.0
     */
    (that: number): (self: number) => number;
    /**
     * Provides a division operation on `number`s.
     *
     * Throws a `RangeError` if the divisor is `0`.
     *
     * @param self - The dividend operand.
     * @param that - The divisor operand.
     *
     * @example
     * ```ts
     * import { unsafeDivide } from "effect/Number"
     *
     * assert.deepStrictEqual(unsafeDivide(6, 3), 2)
     * ```
     *
     * @category math
     * @since 2.0.0
     */
    (self: number, that: number): number;
};
/**
 * Returns the result of adding `1` to a given number.
 *
 * @param n - A `number` to be incremented.
 *
 * @example
 * ```ts
 * import { increment } from "effect/Number"
 *
 * assert.deepStrictEqual(increment(2), 3)
 * ```
 *
 * @category math
 * @since 2.0.0
 */
export declare const increment: (n: number) => number;
/**
 * Decrements a number by `1`.
 *
 * @param n - A `number` to be decremented.
 *
 * @example
 * ```ts
 * import { decrement } from "effect/Number"
 *
 * assert.deepStrictEqual(decrement(3), 2)
 * ```
 *
 * @category math
 * @since 2.0.0
 */
export declare const decrement: (n: number) => number;
/**
 * @category instances
 * @since 2.0.0
 */
export declare const Equivalence: equivalence.Equivalence<number>;
/**
 * @category instances
 * @since 2.0.0
 */
export declare const Order: order.Order<number>;
/**
 * Returns `true` if the first argument is less than the second, otherwise `false`.
 *
 * @param self - The first argument.
 * @param that - The second argument.
 *
 * @example
 * ```ts
 * import { lessThan } from "effect/Number"
 *
 * assert.deepStrictEqual(lessThan(2, 3), true)
 * assert.deepStrictEqual(lessThan(3, 3), false)
 * assert.deepStrictEqual(lessThan(4, 3), false)
 * ```
 *
 * @category predicates
 * @since 2.0.0
 */
export declare const lessThan: {
    /**
     * Returns `true` if the first argument is less than the second, otherwise `false`.
     *
     * @param self - The first argument.
     * @param that - The second argument.
     *
     * @example
     * ```ts
     * import { lessThan } from "effect/Number"
     *
     * assert.deepStrictEqual(lessThan(2, 3), true)
     * assert.deepStrictEqual(lessThan(3, 3), false)
     * assert.deepStrictEqual(lessThan(4, 3), false)
     * ```
     *
     * @category predicates
     * @since 2.0.0
     */
    (that: number): (self: number) => boolean;
    /**
     * Returns `true` if the first argument is less than the second, otherwise `false`.
     *
     * @param self - The first argument.
     * @param that - The second argument.
     *
     * @example
     * ```ts
     * import { lessThan } from "effect/Number"
     *
     * assert.deepStrictEqual(lessThan(2, 3), true)
     * assert.deepStrictEqual(lessThan(3, 3), false)
     * assert.deepStrictEqual(lessThan(4, 3), false)
     * ```
     *
     * @category predicates
     * @since 2.0.0
     */
    (self: number, that: number): boolean;
};
/**
 * Returns a function that checks if a given `number` is less than or equal to the provided one.
 *
 * @param self - The first `number` to compare with.
 * @param that - The second `number` to compare with.
 *
 * @example
 * ```ts
 * import { lessThanOrEqualTo } from "effect/Number"
 *
 * assert.deepStrictEqual(lessThanOrEqualTo(2, 3), true)
 * assert.deepStrictEqual(lessThanOrEqualTo(3, 3), true)
 * assert.deepStrictEqual(lessThanOrEqualTo(4, 3), false)
 * ```
 *
 * @category predicates
 * @since 2.0.0
 */
export declare const lessThanOrEqualTo: {
    /**
     * Returns a function that checks if a given `number` is less than or equal to the provided one.
     *
     * @param self - The first `number` to compare with.
     * @param that - The second `number` to compare with.
     *
     * @example
     * ```ts
     * import { lessThanOrEqualTo } from "effect/Number"
     *
     * assert.deepStrictEqual(lessThanOrEqualTo(2, 3), true)
     * assert.deepStrictEqual(lessThanOrEqualTo(3, 3), true)
     * assert.deepStrictEqual(lessThanOrEqualTo(4, 3), false)
     * ```
     *
     * @category predicates
     * @since 2.0.0
     */
    (that: number): (self: number) => boolean;
    /**
     * Returns a function that checks if a given `number` is less than or equal to the provided one.
     *
     * @param self - The first `number` to compare with.
     * @param that - The second `number` to compare with.
     *
     * @example
     * ```ts
     * import { lessThanOrEqualTo } from "effect/Number"
     *
     * assert.deepStrictEqual(lessThanOrEqualTo(2, 3), true)
     * assert.deepStrictEqual(lessThanOrEqualTo(3, 3), true)
     * assert.deepStrictEqual(lessThanOrEqualTo(4, 3), false)
     * ```
     *
     * @category predicates
     * @since 2.0.0
     */
    (self: number, that: number): boolean;
};
/**
 * Returns `true` if the first argument is greater than the second, otherwise `false`.
 *
 * @param self - The first argument.
 * @param that - The second argument.
 *
 * @example
 * ```ts
 * import { greaterThan } from "effect/Number"
 *
 * assert.deepStrictEqual(greaterThan(2, 3), false)
 * assert.deepStrictEqual(greaterThan(3, 3), false)
 * assert.deepStrictEqual(greaterThan(4, 3), true)
 * ```
 *
 * @category predicates
 * @since 2.0.0
 */
export declare const greaterThan: {
    /**
     * Returns `true` if the first argument is greater than the second, otherwise `false`.
     *
     * @param self - The first argument.
     * @param that - The second argument.
     *
     * @example
     * ```ts
     * import { greaterThan } from "effect/Number"
     *
     * assert.deepStrictEqual(greaterThan(2, 3), false)
     * assert.deepStrictEqual(greaterThan(3, 3), false)
     * assert.deepStrictEqual(greaterThan(4, 3), true)
     * ```
     *
     * @category predicates
     * @since 2.0.0
     */
    (that: number): (self: number) => boolean;
    /**
     * Returns `true` if the first argument is greater than the second, otherwise `false`.
     *
     * @param self - The first argument.
     * @param that - The second argument.
     *
     * @example
     * ```ts
     * import { greaterThan } from "effect/Number"
     *
     * assert.deepStrictEqual(greaterThan(2, 3), false)
     * assert.deepStrictEqual(greaterThan(3, 3), false)
     * assert.deepStrictEqual(greaterThan(4, 3), true)
     * ```
     *
     * @category predicates
     * @since 2.0.0
     */
    (self: number, that: number): boolean;
};
/**
 * Returns a function that checks if a given `number` is greater than or equal to the provided one.
 *
 * @param self - The first `number` to compare with.
 * @param that - The second `number` to compare with.
 *
 * @example
 * ```ts
 * import { greaterThanOrEqualTo } from "effect/Number"
 *
 * assert.deepStrictEqual(greaterThanOrEqualTo(2, 3), false)
 * assert.deepStrictEqual(greaterThanOrEqualTo(3, 3), true)
 * assert.deepStrictEqual(greaterThanOrEqualTo(4, 3), true)
 * ```
 *
 * @category predicates
 * @since 2.0.0
 */
export declare const greaterThanOrEqualTo: {
    /**
     * Returns a function that checks if a given `number` is greater than or equal to the provided one.
     *
     * @param self - The first `number` to compare with.
     * @param that - The second `number` to compare with.
     *
     * @example
     * ```ts
     * import { greaterThanOrEqualTo } from "effect/Number"
     *
     * assert.deepStrictEqual(greaterThanOrEqualTo(2, 3), false)
     * assert.deepStrictEqual(greaterThanOrEqualTo(3, 3), true)
     * assert.deepStrictEqual(greaterThanOrEqualTo(4, 3), true)
     * ```
     *
     * @category predicates
     * @since 2.0.0
     */
    (that: number): (self: number) => boolean;
    /**
     * Returns a function that checks if a given `number` is greater than or equal to the provided one.
     *
     * @param self - The first `number` to compare with.
     * @param that - The second `number` to compare with.
     *
     * @example
     * ```ts
     * import { greaterThanOrEqualTo } from "effect/Number"
     *
     * assert.deepStrictEqual(greaterThanOrEqualTo(2, 3), false)
     * assert.deepStrictEqual(greaterThanOrEqualTo(3, 3), true)
     * assert.deepStrictEqual(greaterThanOrEqualTo(4, 3), true)
     * ```
     *
     * @category predicates
     * @since 2.0.0
     */
    (self: number, that: number): boolean;
};
/**
 * Checks if a `number` is between a `minimum` and `maximum` value (inclusive).
 *
 * @param self - The `number` to check.
 * @param minimum - The `minimum` value to check.
 * @param maximum - The `maximum` value to check.
 *
 * @example
 * ```ts
 * import { Number } from "effect"
 *
 * const between = Number.between({ minimum: 0, maximum: 5 })
 *
 * assert.deepStrictEqual(between(3), true)
 * assert.deepStrictEqual(between(-1), false)
 * assert.deepStrictEqual(between(6), false)
 * ```
 *
 * @category predicates
 * @since 2.0.0
 */
export declare const between: {
    /**
     * Checks if a `number` is between a `minimum` and `maximum` value (inclusive).
     *
     * @param self - The `number` to check.
     * @param minimum - The `minimum` value to check.
     * @param maximum - The `maximum` value to check.
     *
     * @example
     * ```ts
     * import { Number } from "effect"
     *
     * const between = Number.between({ minimum: 0, maximum: 5 })
     *
     * assert.deepStrictEqual(between(3), true)
     * assert.deepStrictEqual(between(-1), false)
     * assert.deepStrictEqual(between(6), false)
     * ```
     *
     * @category predicates
     * @since 2.0.0
     */
    (options: {
        minimum: number;
        maximum: number;
    }): (self: number) => boolean;
    /**
     * Checks if a `number` is between a `minimum` and `maximum` value (inclusive).
     *
     * @param self - The `number` to check.
     * @param minimum - The `minimum` value to check.
     * @param maximum - The `maximum` value to check.
     *
     * @example
     * ```ts
     * import { Number } from "effect"
     *
     * const between = Number.between({ minimum: 0, maximum: 5 })
     *
     * assert.deepStrictEqual(between(3), true)
     * assert.deepStrictEqual(between(-1), false)
     * assert.deepStrictEqual(between(6), false)
     * ```
     *
     * @category predicates
     * @since 2.0.0
     */
    (self: number, options: {
        minimum: number;
        maximum: number;
    }): boolean;
};
/**
 * Restricts the given `number` to be within the range specified by the `minimum` and `maximum` values.
 *
 * - If the `number` is less than the `minimum` value, the function returns the `minimum` value.
 * - If the `number` is greater than the `maximum` value, the function returns the `maximum` value.
 * - Otherwise, it returns the original `number`.
 *
 * @param self - The `number` to be clamped.
 * @param minimum - The lower end of the range.
 * @param maximum - The upper end of the range.
 *
 * @example
 * ```ts
 * import { Number } from "effect"
 *
 * const clamp = Number.clamp({ minimum: 1, maximum: 5 })
 *
 * assert.equal(clamp(3), 3)
 * assert.equal(clamp(0), 1)
 * assert.equal(clamp(6), 5)
 * ```
 *
 * @since 2.0.0
 */
export declare const clamp: {
    /**
     * Restricts the given `number` to be within the range specified by the `minimum` and `maximum` values.
     *
     * - If the `number` is less than the `minimum` value, the function returns the `minimum` value.
     * - If the `number` is greater than the `maximum` value, the function returns the `maximum` value.
     * - Otherwise, it returns the original `number`.
     *
     * @param self - The `number` to be clamped.
     * @param minimum - The lower end of the range.
     * @param maximum - The upper end of the range.
     *
     * @example
     * ```ts
     * import { Number } from "effect"
     *
     * const clamp = Number.clamp({ minimum: 1, maximum: 5 })
     *
     * assert.equal(clamp(3), 3)
     * assert.equal(clamp(0), 1)
     * assert.equal(clamp(6), 5)
     * ```
     *
     * @since 2.0.0
     */
    (options: {
        minimum: number;
        maximum: number;
    }): (self: number) => number;
    /**
     * Restricts the given `number` to be within the range specified by the `minimum` and `maximum` values.
     *
     * - If the `number` is less than the `minimum` value, the function returns the `minimum` value.
     * - If the `number` is greater than the `maximum` value, the function returns the `maximum` value.
     * - Otherwise, it returns the original `number`.
     *
     * @param self - The `number` to be clamped.
     * @param minimum - The lower end of the range.
     * @param maximum - The upper end of the range.
     *
     * @example
     * ```ts
     * import { Number } from "effect"
     *
     * const clamp = Number.clamp({ minimum: 1, maximum: 5 })
     *
     * assert.equal(clamp(3), 3)
     * assert.equal(clamp(0), 1)
     * assert.equal(clamp(6), 5)
     * ```
     *
     * @since 2.0.0
     */
    (self: number, options: {
        minimum: number;
        maximum: number;
    }): number;
};
/**
 * Returns the minimum between two `number`s.
 *
 * @param self - The first `number`.
 * @param that - The second `number`.
 *
 * @example
 * ```ts
 * import { min } from "effect/Number"
 *
 * assert.deepStrictEqual(min(2, 3), 2)
 * ```
 *
 * @since 2.0.0
 */
export declare const min: {
    /**
     * Returns the minimum between two `number`s.
     *
     * @param self - The first `number`.
     * @param that - The second `number`.
     *
     * @example
     * ```ts
     * import { min } from "effect/Number"
     *
     * assert.deepStrictEqual(min(2, 3), 2)
     * ```
     *
     * @since 2.0.0
     */
    (that: number): (self: number) => number;
    /**
     * Returns the minimum between two `number`s.
     *
     * @param self - The first `number`.
     * @param that - The second `number`.
     *
     * @example
     * ```ts
     * import { min } from "effect/Number"
     *
     * assert.deepStrictEqual(min(2, 3), 2)
     * ```
     *
     * @since 2.0.0
     */
    (self: number, that: number): number;
};
/**
 * Returns the maximum between two `number`s.
 *
 * @param self - The first `number`.
 * @param that - The second `number`.
 *
 * @example
 * ```ts
 * import { max } from "effect/Number"
 *
 * assert.deepStrictEqual(max(2, 3), 3)
 * ```
 *
 * @since 2.0.0
 */
export declare const max: {
    /**
     * Returns the maximum between two `number`s.
     *
     * @param self - The first `number`.
     * @param that - The second `number`.
     *
     * @example
     * ```ts
     * import { max } from "effect/Number"
     *
     * assert.deepStrictEqual(max(2, 3), 3)
     * ```
     *
     * @since 2.0.0
     */
    (that: number): (self: number) => number;
    /**
     * Returns the maximum between two `number`s.
     *
     * @param self - The first `number`.
     * @param that - The second `number`.
     *
     * @example
     * ```ts
     * import { max } from "effect/Number"
     *
     * assert.deepStrictEqual(max(2, 3), 3)
     * ```
     *
     * @since 2.0.0
     */
    (self: number, that: number): number;
};
/**
 * Determines the sign of a given `number`.
 *
 * @param n - The `number` to determine the sign of.
 *
 * @example
 * ```ts
 * import { sign } from "effect/Number"
 *
 * assert.deepStrictEqual(sign(-5), -1)
 * assert.deepStrictEqual(sign(0), 0)
 * assert.deepStrictEqual(sign(5), 1)
 * ```
 *
 * @category math
 * @since 2.0.0
 */
export declare const sign: (n: number) => Ordering;
/**
 * Takes an `Iterable` of `number`s and returns their sum as a single `number`.
 *
 * @param collection - The collection of `number`s to sum.
 *
 * @example
 * ```ts
 * import { sumAll } from "effect/Number"
 *
 * assert.deepStrictEqual(sumAll([2, 3, 4]), 9)
 * ```
 *
 * @category math
 * @since 2.0.0
 */
export declare const sumAll: (collection: Iterable<number>) => number;
/**
 * Takes an `Iterable` of `number`s and returns their multiplication as a single `number`.
 *
 * @param collection - The collection of `number`s to multiply.
 *
 * @example
 * ```ts
 * import { multiplyAll } from "effect/Number"
 *
 * assert.deepStrictEqual(multiplyAll([2, 3, 4]), 24)
 * ```
 *
 * @category math
 * @since 2.0.0
 */
export declare const multiplyAll: (collection: Iterable<number>) => number;
/**
 * Returns the remainder left over when one operand is divided by a second operand.
 *
 * It always takes the sign of the dividend.
 *
 * @param self - The dividend.
 * @param divisor - The divisor.
 *
 * @example
 * ```ts
 * import { remainder } from "effect/Number"
 *
 * assert.deepStrictEqual(remainder(2, 2), 0)
 * assert.deepStrictEqual(remainder(3, 2), 1)
 * assert.deepStrictEqual(remainder(-4, 2), -0)
 * ```
 *
 * @category math
 * @since 2.0.0
 */
export declare const remainder: {
    /**
     * Returns the remainder left over when one operand is divided by a second operand.
     *
     * It always takes the sign of the dividend.
     *
     * @param self - The dividend.
     * @param divisor - The divisor.
     *
     * @example
     * ```ts
     * import { remainder } from "effect/Number"
     *
     * assert.deepStrictEqual(remainder(2, 2), 0)
     * assert.deepStrictEqual(remainder(3, 2), 1)
     * assert.deepStrictEqual(remainder(-4, 2), -0)
     * ```
     *
     * @category math
     * @since 2.0.0
     */
    (divisor: number): (self: number) => number;
    /**
     * Returns the remainder left over when one operand is divided by a second operand.
     *
     * It always takes the sign of the dividend.
     *
     * @param self - The dividend.
     * @param divisor - The divisor.
     *
     * @example
     * ```ts
     * import { remainder } from "effect/Number"
     *
     * assert.deepStrictEqual(remainder(2, 2), 0)
     * assert.deepStrictEqual(remainder(3, 2), 1)
     * assert.deepStrictEqual(remainder(-4, 2), -0)
     * ```
     *
     * @category math
     * @since 2.0.0
     */
    (self: number, divisor: number): number;
};
/**
 * Returns the next power of 2 from the given number.
 *
 * @param self - The number to find the next power of 2 from.
 *
 * @example
 * ```ts
 * import { nextPow2 } from "effect/Number"
 *
 * assert.deepStrictEqual(nextPow2(5), 8)
 * assert.deepStrictEqual(nextPow2(17), 32)
 * ```
 *
 * @category math
 * @since 2.0.0
 */
export declare const nextPow2: (n: number) => number;
/**
 * Tries to parse a `number` from a `string` using the `Number()` function.
 * The following special string values are supported: "NaN", "Infinity", "-Infinity".
 *
 * @category constructors
 * @since 2.0.0
 */
export declare const parse: (s: string) => Option<number>;
/**
 * Returns the number rounded with the given precision.
 *
 * @param self - The number to round
 * @param precision - The precision
 *
 * @example
 * ```ts
 * import { round } from "effect/Number"
 *
 * assert.deepStrictEqual(round(1.1234, 2), 1.12)
 * assert.deepStrictEqual(round(1.567, 2), 1.57)
 * ```
 *
 * @category math
 * @since 3.8.0
 */
export declare const round: {
    /**
     * Returns the number rounded with the given precision.
     *
     * @param self - The number to round
     * @param precision - The precision
     *
     * @example
     * ```ts
     * import { round } from "effect/Number"
     *
     * assert.deepStrictEqual(round(1.1234, 2), 1.12)
     * assert.deepStrictEqual(round(1.567, 2), 1.57)
     * ```
     *
     * @category math
     * @since 3.8.0
     */
    (precision: number): (self: number) => number;
    /**
     * Returns the number rounded with the given precision.
     *
     * @param self - The number to round
     * @param precision - The precision
     *
     * @example
     * ```ts
     * import { round } from "effect/Number"
     *
     * assert.deepStrictEqual(round(1.1234, 2), 1.12)
     * assert.deepStrictEqual(round(1.567, 2), 1.57)
     * ```
     *
     * @category math
     * @since 3.8.0
     */
    (self: number, precision: number): number;
};
//# sourceMappingURL=Number.d.ts.map