import { type TypographyProps as MuiTypographyProps } from '@mui/material'; import { type ElementType, type HTMLAttributes } from 'react'; import type { Intensity, TypographyColor, TypographyLegacyVariant, TypographyVariant } from './types'; type ComponentProp = ElementType; type TypographyPropsBase = Pick; export type TypographyProps = TypographyPropsBase & { /** * Цвет текста * @default undefined */ color?: TypographyColor; /** * Применяет стили оформления темы * @default 'body1' */ variant?: TypographyVariant | TypographyLegacyVariant; /** * Интенсивность цвета, будет применена для цвета, у которого есть градации * @default '800' */ colorIntensity?: Intensity; /** * Тип HTML - элемента * @default 'p' */ component?: ComponentProp; /** * Верхний регистр дочерних элементов * @default false */ isUpperCase?: boolean; } & HTMLAttributes; declare module '@mui/material/Typography' { interface TypographyPropsVariantOverrides { link: true; pointer: true; /** * Устаревшие варианты, будут удалены в мажорном релизе */ h7: true; h8: true; ui: true; small: true; code: true; } } export declare const Typography: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export {};