import { Component } from 'react'; import type { TextProps } from './props'; /** --- category: components --- **/ declare class Text extends Component { static displayName: string; static readonly componentId = "Text"; static allowedProps: readonly (keyof { as?: import("@instructure/shared-types").AsElementType; color?: 'primary' | 'secondary' | 'brand' | 'success' | 'danger' | 'alert' | 'warning' | 'primary-inverse' | 'secondary-inverse' | 'ai-highlight'; elementRef?: (element: Element | null) => void; fontStyle?: 'italic' | 'normal'; letterSpacing?: 'normal' | 'condensed' | 'expanded'; lineHeight?: 'default' | 'fit' | 'condensed' | 'double' | 'lineHeight100' | 'lineHeight125' | 'lineHeight150'; size?: 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'descriptionPage' | 'descriptionSection' | 'content' | 'contentSmall' | 'legend'; transform?: 'none' | 'capitalize' | 'uppercase' | 'lowercase'; variant?: 'descriptionPage' | 'descriptionSection' | 'content' | 'contentImportant' | 'contentQuote' | 'contentSmall' | 'legend'; weight?: 'normal' | 'light' | 'bold' | 'weightRegular' | 'weightImportant'; wrap?: 'normal' | 'break-word'; children?: React.ReactNode; })[]; static defaultProps: { readonly as: 'span'; readonly wrap: 'normal'; readonly size: 'medium'; readonly letterSpacing: 'normal'; readonly children: null; }; ref: Element | null; handleRef: (el: Element | null) => void; checkProps(): void; componentDidMount(): void; componentDidUpdate(): void; render(): import("@emotion/react/jsx-runtime").JSX.Element; } export default Text; export { Text }; //# sourceMappingURL=index.d.ts.map