import { type NumeralProps as SemiNumeralProps } from '@douyinfe/semi-ui/lib/es/typography/numeral.js'; import { type ShowTooltip as SemiShowTooltip, type Ellipsis as SemiEllipsis, type BaseTypographyProps, type TextProps as SemiTextProps, type ParagraphProps as SemiParagraphProps, type TitleProps as SemiTitleProps } from '@douyinfe/semi-ui/lib/es/typography/index.js'; import { type IComponentBaseProps } from '../../typings'; import { type TooltipProps } from '../tooltip'; import { type PopoverProps } from '../popover'; export type BaseSize = '16px' | '14px' | '12px' | 'inherit'; export type TitleSize = '28px' | '20px' | BaseSize; export type TextSize = '10px' | BaseSize; export interface TypographyProps extends IComponentBaseProps, BaseTypographyProps { } export interface TitleProps extends IComponentBaseProps, SemiTitleProps { fontSize?: TitleSize; ellipsis?: Ellipsis | undefined | boolean; } export interface TextProps extends IComponentBaseProps, SemiTextProps { fontSize?: TextSize; ellipsis?: Ellipsis | undefined | boolean; } export interface Ellipsis extends Omit { showTooltip?: ShowTooltip | boolean; } export interface ShowTooltip extends SemiShowTooltip { opts?: TooltipProps & PopoverProps; } export interface ParagraphProps extends IComponentBaseProps, Omit { fontSize?: BaseSize; ellipsis?: Ellipsis | undefined | boolean; } export interface NumeralProps extends IComponentBaseProps, SemiNumeralProps { }