import { type Typography } from '@mui/material/styles/createTypography'; import { type CSSProperties } from 'react'; import type { Theme } from './types'; type CustomTypographyVariantStyle = { fontSize: CSSProperties['fontSize']; fontWeight: CSSProperties['fontWeight']; lineHeight: CSSProperties['lineHeight']; }; export type TypographyThemeOptions = Omit & { /** * @deprecated * Данный вариант больше не поддерживается и будет удален в следующем мажорном релизе. Используйте `pointer` или другой более подходящий вариант. * Причина отказа от поддержки: данный вариант отсутствует в обновленной дизайн-системе */ h7: CustomTypographyVariantStyle; /** * @deprecated * Данный вариант больше не поддерживается и будет удален в следующем мажорном релизе. Используйте `pointer` или другой более подходящий вариант. * Причина отказа от поддержки: данный вариант отсутствует в обновленной дизайн-системе */ h8: CustomTypographyVariantStyle; /** * @deprecated * Данный вариант больше не поддерживается и будет удален в следующем мажорном релизе. Используйте `body1` или другой подходящий вариант. * Причина отказа от поддержки: данный вариант отсутствует в обновленной дизайн-системе */ ui: CustomTypographyVariantStyle; /** * @deprecated * Данный вариант больше не поддерживается и будет удален в следующем мажорном релизе. Используйте `caption` или другой подходящий вариант. * Причина отказа от поддержки: данный вариант отсутствует в обновленной дизайн-системе */ small: CustomTypographyVariantStyle; /** * @deprecated * Данный вариант больше не поддерживается и будет удален в следующем мажорном релизе. Используйте `body1` или другой подходящий вариант. * Причина отказа от поддержки: данный вариант отсутствует в обновленной дизайн-системе */ body2: CustomTypographyVariantStyle; link: CustomTypographyVariantStyle; pointer: CustomTypographyVariantStyle; }; export declare const pxToRem: (fontSize: number, htmlFontSize?: number) => string; export declare const baseTypography: Partial; export declare const getTypography: (theme: Theme) => Partial; export declare const getNextTypography: (theme: Theme) => { h1: { fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; h2: { [x: string]: string | (number & {}) | { fontSize: string; lineHeight: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; h3: { [x: string]: string | (number & {}) | { fontSize: string; lineHeight: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; h4: { [x: string]: string | (number & {}) | { fontSize: string; lineHeight: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; h5: { [x: string]: string | (number & {}) | { fontSize: string; lineHeight: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; h6: { [x: string]: string | (number & {}) | { fontSize: string; lineHeight: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; subtitle1: { [x: string]: string | (number & {}) | { fontSize: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; subtitle2: { [x: string]: string | (number & {}) | { fontSize: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; body1: { [x: string]: string | (number & {}) | { fontSize: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; button: { [x: string]: string | (number & {}) | { fontSize: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; link: { [x: string]: string | (number & {}) | { fontSize: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; caption: { [x: string]: string | (number & {}) | { fontSize: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; pointer: { [x: string]: string | (number & {}) | { fontSize: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; h7: { [x: string]: string | (number & {}) | { fontSize: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; h8: { [x: string]: string | (number & {}) | { fontSize: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; ui: { [x: string]: string | (number & {}) | { fontSize: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; small: { [x: string]: string | (number & {}) | { fontSize: string; } | undefined; fontSize: string; fontWeight: import("csstype").Property.FontWeight | undefined; lineHeight: string; }; }; export {};