import * as React from 'react'; import { OverridableStringUnion, OverrideProps } from '@mui/types'; import { TypographyClasses } from './typographyClasses.js'; import { ColorPaletteProp } from '../styles/types/colorSystem.js'; import { VariantProp } from '../styles/types/variants.js'; import { TypographySystem } from '../styles/types/typography.js'; import { SystemProps, SxProps } from '../styles/types/theme.js'; import '@mui/system'; import '../styles/types/colorScheme.js'; import '../styles/types/focus.js'; import '../styles/types/shadow.js'; import '../styles/types/radius.js'; declare type TypographySlot = "root" | "startDecorator" | "endDecorator"; interface TypographyPropsColorOverrides { } interface TypographyPropsVariantOverrides { } interface TypographyTypeMap

{ props: P & Omit & { /** * The content of the component. */ children?: React.ReactNode; /** * Override or extend the styles applied to the component. */ classes?: Partial; /** * The color of the component. It supports those theme colors that make sense for this component. */ color?: OverridableStringUnion; /** * Element placed after the children. */ endDecorator?: React.ReactNode; /** * If `true`, the text will have a bottom margin. * @default false */ gutterBottom?: boolean; /** * Applies the theme typography styles. * @default 'body1' */ level?: keyof TypographySystem | "inherit"; /** * The component maps the variant prop to a range of different HTML element types. * For instance, body1 to `

`. * If you wish to change that mapping, you can provide your own. * Alternatively, you can use the `component` prop. * @default { * h1: 'h1', * h2: 'h2', * h3: 'h3', * h4: 'h4', * h5: 'h5', * h6: 'h6', * body1: 'p', * body2: 'p', * body3: 'p', * inherit: 'p', * } */ levelMapping?: Partial>; /** * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis. * * Note that text overflow can only happen with block or inline-block level elements * (the element needs to have a width in order to overflow). * @default false */ noWrap?: boolean; /** * Element placed before the children. */ startDecorator?: React.ReactNode; /** * The system color. */ textColor?: SystemProps["color"]; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; /** * The variant to use. */ variant?: OverridableStringUnion; }; defaultComponent: D; } declare type TypographyProps = OverrideProps, D>; export { TypographyProps, TypographyPropsColorOverrides, TypographyPropsVariantOverrides, TypographySlot, TypographyTypeMap };