import { BoxProps, PolymorphicFactory, RaikouColor, RaikouGradient, RaikouSize, StylesApiProps } from '../../core'; type TextTruncate = 'end' | 'start' | boolean; export type TextStylesNames = 'root'; export type TextVariant = 'text' | 'gradient'; export type TextCssVariables = { root: '--text-gradient' | '--text-line-clamp' | '--text-fz' | '--text-lh'; }; export interface TextProps extends BoxProps, StylesApiProps { __staticSelector?: string; /** Controls `font-size` and `line-height`, `'md'` by default */ size?: RaikouSize | (string & {}); /** Number of lines after which Text will be truncated */ lineClamp?: number; /** Side on which Text must be truncated, if `true`, text is truncated from the start */ truncate?: TextTruncate; /** Sets `line-height` to 1 for centering, `false` by default */ inline?: boolean; /** Determines whether font properties should be inherited from the parent, `false` by default */ inherit?: boolean; /** Gradient configuration, ignored when `variant` is not `gradient`, `theme.defaultGradient` by default */ gradient?: RaikouGradient; /** Shorthand for `component="span"`, `false` by default, default root element is `p` */ span?: boolean; /** @deprecated Use `c` prop instead */ color?: RaikouColor; } export type TextFactory = PolymorphicFactory<{ props: TextProps; defaultComponent: 'p'; defaultRef: HTMLParagraphElement; stylesNames: TextStylesNames; vars: TextCssVariables; variant: TextVariant; }>; export declare const Text: ((props: import("../../core").PolymorphicComponentProps) => React.ReactElement) & Omit, "component" | keyof TextProps> & { ref?: any; renderRoot?: (props: any) => any; }) | (TextProps & { component: React.ElementType; renderRoot?: (props: Record) => any; })>, never> & import("../../core/factory/factory").ThemeExtend<{ props: TextProps; defaultComponent: "p"; defaultRef: HTMLParagraphElement; stylesNames: TextStylesNames; vars: TextCssVariables; variant: TextVariant; }> & import("../../core/factory/factory").ComponentClasses<{ props: TextProps; defaultComponent: "p"; defaultRef: HTMLParagraphElement; stylesNames: TextStylesNames; vars: TextCssVariables; variant: TextVariant; }> & import("../../core/factory/polymorphic-factory").PolymorphicComponentWithProps<{ props: TextProps; defaultComponent: "p"; defaultRef: HTMLParagraphElement; stylesNames: TextStylesNames; vars: TextCssVariables; variant: TextVariant; }> & Record; export {};