import { BigNumberLike } from "../bn"; import { Locale, NumberFormatDisplay } from "./types"; export type NumberFormatOptions = { display?: NumberFormatDisplay; bounded?: boolean; prefix?: string; suffix?: string; custom?: Intl.NumberFormatOptions; }; export declare const ONE_BIL = 1000000000; export declare const numberFormatter: (locale?: Locale) => (value: BigNumberLike | undefined | null, { display, suffix, prefix, bounded, custom, }?: NumberFormatOptions) => string; type CustomNumberFormatOptions = Intl.NumberFormatOptions & { notation?: "standard" | "compact"; }; export declare const getNumberFormatOptions: ({ display, value, }: { display: NumberFormatDisplay; value: number; } & Omit) => CustomNumberFormatOptions; export declare const getNumberFormatOptionsByDisplay: (display: NumberFormatDisplay) => CustomNumberFormatOptions; type BoundedNumberOptions = { upperBound?: number; lowerBound?: number; }; export declare const getBoundedNumber: (display: NumberFormatDisplay, value: number, options?: BoundedNumberOptions) => number; type NumberPrefixOptions = BoundedNumberOptions; export declare const getNumberPrefix: (display: NumberFormatDisplay, value: number, options?: NumberPrefixOptions) => "" | "> " | "< "; export declare const isValidNumber: (value: BigNumberLike | null | undefined) => value is number; export {}; //# sourceMappingURL=number.d.ts.map