import { type PropsWithChildren, type ReactElement } from 'react'; import type { TypographyVariantType } from '@n3/css-base'; import type { TypographyComponent, TypographyComponentProps, TypographyAlign } from './types'; export type TypographyProps = PropsWithChildren<{ /** * Дополнительный класс */ className?: string; /** * Вариант текста */ variant?: TypographyVariantType; /** * Цвет текста */ color?: string; /** * Выравнивание в блоке */ align?: TypographyAlign; /** * Компонент */ component?: TypographyComponent; }>; export declare const StyledText: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, { $align: TypographyAlign; $variant: TypographyVariantType; $color?: string | undefined; }, never>; export declare function Typography({ component, className, align, variant, color, children, ...rest }: TypographyProps): ReactElement;