import { PropsWithChildren } from 'react'; import { ComponentWithCustomElement, InnerRef } from 'bloko/common/helpers/types'; export declare enum TextSize { Small = "small", Medium = "medium", Large = "large", ExtraLarge = "extra-large" } export declare enum TextImportance { Primary = "primary", Secondary = "secondary", Tertiary = "tertiary" } export interface TextProps { /** Тип элемента */ Element?: 'span' | 'p' | 'div' | 'b' | 'strong'; /** Размер текста */ size?: TextSize; /** Флаг выделения */ strong?: boolean; /** Флаг курсива */ italic?: boolean; /** "Важность" текста */ importance?: TextImportance; /** Реф для элемента */ innerRef?: InnerRef; } declare const Text: ComponentWithCustomElement, 'div'>; export default Text;