import { UIComponentProps, ContentComponentProps, ChildrenComponentProps, ColorComponentProps, SizeValue, AlignValue } from '../../utils'; import { Accessibility } from '@fluentui/accessibility'; import { FluentComponentStaticProps } from '../../types'; import { ComponentWithAs } from '@fluentui/react-bindings'; export interface TextProps extends UIComponentProps, ContentComponentProps, ChildrenComponentProps, ColorComponentProps { /** * Accessibility behavior if overridden by the user. */ accessibility?: Accessibility; /** At mentions can be formatted to draw users' attention. Mentions for "me" can be formatted to appear differently. */ atMention?: boolean | 'me'; /** Set as disabled Text component */ disabled?: boolean; /** Set as error Text component */ error?: boolean; /** The text can appear more important and draw user's attention */ important?: boolean; /** The size for the Text component */ size?: SizeValue; /** The weight for the Text component */ weight?: 'light' | 'semilight' | 'regular' | 'semibold' | 'bold'; /** Set as success Text component */ success?: boolean; /** The text can signify a temporary state */ temporary?: boolean; /** Align text content. */ align?: AlignValue; /** Set as timestamp Text component */ timestamp?: boolean; /** Truncates text as needed */ truncated?: boolean; } export declare type TextStylesProps = Pick; export declare const textClassName = "ui-text"; /** * A Text consistently styles and formats occurrences of text. */ export declare const Text: ComponentWithAs<'span', TextProps> & FluentComponentStaticProps;