import type { TextVariant } from '@ultraviolet/themes'; import type { CSSProperties, AriaRole, ElementType, ReactNode } from 'react'; import type { ExtendedColor } from '../../theme'; import type { PROMINENCES } from './constants'; type ProminenceProps = keyof typeof PROMINENCES; type PlacementProps = CSSProperties['textAlign']; type WhiteSpaceProps = CSSProperties['whiteSpace']; type TextProps = { className?: string; children: ReactNode; placement?: PlacementProps; variant: TextVariant; sentiment?: ExtendedColor; prominence?: ProminenceProps; as: ElementType; oneLine?: boolean; disabled?: boolean; italic?: boolean; underline?: boolean; id?: string; dir?: 'ltr' | 'rtl' | 'auto'; htmlFor?: string; 'data-testid'?: string; 'aria-hidden'?: boolean; strikeThrough?: boolean; whiteSpace?: WhiteSpaceProps; role?: Extract; style?: CSSProperties; }; export declare function Text({ variant, children, as: Component, sentiment, oneLine, placement, prominence, className, disabled, italic, underline, strikeThrough, id, dir, whiteSpace, htmlFor, role, 'data-testid': dataTestId, 'aria-hidden': ariaHidden, style, }: TextProps): import("react").JSX.Element; export declare namespace Text { var displayName: string; } export {}; //# sourceMappingURL=index.d.ts.map