import * as React from 'react'; import { GetClasses } from '../../typeUtils'; export declare const TextStylesKey = "ChromaText"; export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"body" | "button" | "caption" | "code" | "table" | "tooltip" | "root" | "marginBottom" | "alignCenter" | "inverseColor" | "negativeColor" | "positiveColor" | "headline" | "subbody" | "familySecondary" | "familyMonospace" | "weightLight" | "weightRegular" | "weightBold" | "alignJustify" | "alignLeft" | "alignRight">; export interface TextOwnProps extends React.HTMLAttributes { align?: 'center' | 'justify' | 'left' | 'right'; children?: React.ReactNode; size?: 'headline' | 'body' | 'subbody' | 'table' | 'caption' | 'button' | 'tooltip' | 'code'; family?: 'primary' | 'secondary' | 'monospace'; weight?: 'light' | 'regular' | 'bold'; marginBottom?: boolean; /** * There may be cases where the text needs to be an `h1` tag. The `useH1` prop can * be provided to set this. Be careful not to have too many `h1` tags for * accessibility reasons. */ useH1?: boolean; color?: 'default' | 'inverse' | 'negative' | 'positive'; } export declare type TextClasses = GetClasses; export interface TextProps extends TextOwnProps { } /** * Component for styling text. Replaces p and h[1-6] * * ### Links * * - [Component Source](https://github.com/lifeomic/chroma-react/blob/master/src/components/Text/Text.tsx) * - [Story Source](https://github.com/lifeomic/chroma-react/blob/master/stories/components/Text/Text.stories.tsx) */ export declare const Text: React.ForwardRefExoticComponent>;