import type * as React from 'react'; import type { HasComponent, HasRootRef } from '../../types'; export declare function weightClassNames(weight: '1' | '2' | '3' | undefined, useAccentWeight?: boolean): string; export interface HasCaps { /** * Отображение текста в верхнем регистре. */ caps?: boolean | undefined; } export interface TypographyProps extends React.AllHTMLAttributes, HasComponent, HasRootRef { /** * Задаёт начертание шрифта, отличное от стандартного. */ weight?: '1' | '2' | '3' | undefined; /** * Включает акцентный тип начертания шрифта. * Используются токены fontWeightAccent[1, 2, 3] * Используется только вместе с `weight`. */ useAccentWeight?: boolean | undefined; /** * Убирает внешние отступы. */ normalize?: boolean | undefined; /** * Делает блок инлайновым. */ inline?: boolean | undefined; /** * Выравнивание текста. Не имеет эффекта при inline={true}. */ align?: 'start' | 'center' | 'end' | undefined; } export declare const Typography: ({ weight, useAccentWeight, Component, normalize, inline, align, ...restProps }: TypographyProps) => React.ReactNode; //# sourceMappingURL=Typography.d.ts.map