import { TypographyProps, SpaceProps, LayoutProps } from 'styled-system';
import { ColorProps } from '../utils/color-props';
/**
* Prop Types of a Text component.
* Apart from variant it extends all {@link ColorProps}, {@link SpaceProps} and
* {@link TypographyProps}
*
* @memberof Text
* @alias TextProps
* @property {string} [...] Other props from {@link ColorProps}, {@link SpaceProps}
* and {@link TypographyProps}
*/
export declare type TextProps = TypographyProps & SpaceProps & ColorProps & LayoutProps & {
/** Optional variant of a
*
* Use the Text component to control font size, weight, alignment, and color.
* By default it is rendered as a `div` but you can change this to other (like `span`)
* by using `as` prop,
*
* ### Usage
*
* ```javascript
* import { Text, TextProps } from '@admin-bro/design-system'
* ```
*
* @component
* @subcategory Atoms
* @see TextProps
* @see {@link https://storybook.adminbro.com/?path=/story/designsystem-atoms-text--default Storybook}
* @hideconstructor
* @example