/// import type { Overwrite } from '@epam/uui-core'; import * as uuiComponents from '@epam/uui-components'; type TextColor = 'info' | 'warning' | 'critical' | 'success' | 'primary' | 'secondary' | 'tertiary' | 'disabled' | 'white'; type TextSize = 'none' | '18' | '24' | '30' | '36' | '42' | '48'; type TextFontStyle = 'normal' | 'italic'; type TextFontWeight = '200' | '300' | '400' | '600' | '700' | '900'; interface TextMods { /** * Defines text color. * @default 'primary' */ color?: TextColor; /** * Defines size(height) of text block, to align text by its baseline with other components of the same size. * Used to calculate line-height and vertical paddings so that the sum of their values be equal size value(size = vPaddings/2 + lineHeight) * Pass 'none' to disable it. * @default '36' */ size?: TextSize; /** Defines text line-height * Provide number or string value without 'px' * */ lineHeight?: number | string; /** Defines text font-size * Provide number or string value without 'px' * */ fontSize?: number | string; /** * Defines text font weight value * @default '400' */ fontWeight?: TextFontWeight; /** * Determines the style of the text font. * @default 'normal' */ fontStyle?: TextFontStyle; } export interface TextCoreProps extends uuiComponents.TextProps { } export interface TextModsOverride { } export interface TextProps extends uuiComponents.TextProps, Overwrite { } export declare const Text: import("react").ComponentType>; export {}; //# sourceMappingURL=Text.d.ts.map