import { TextType, IText } from "../../core/types"; import { Locale } from '../../locales'; declare type TextStyles = Omit; export declare type ValueType = number | string | Date; declare type CommonProps = TextStyles & { value: ValueType; locale?: Locale; size?: TextType; }; export interface INumberValue extends CommonProps { } export interface ICurrencyValue extends CommonProps { currency: string; largeCurrencyFraction?: number; } export interface IDateValue extends CommonProps { } export interface IValue extends CommonProps { type: 'currency' | 'date' | 'number'; /** * ISO 4217 currency code */ currency?: string; /** * Fractional formating before million/billion abbreviations. Default 1 */ largeCurrencyFraction?: number; } export {};