import * as React from 'react'; import { ThemeInterface } from '../../theme/magma'; export interface TypographyProps extends Omit, 'color'> { as?: React.ElementType; children?: React.ReactNode; color?: TypographyColor; contextVariant?: TypographyContextVariant; element?: string; isInverse?: boolean; noMargins?: boolean; noBottomMargin?: boolean; noTopMargin?: boolean; ref?: any; /** * @internal */ testId?: string; theme?: ThemeInterface; visualStyle?: TypographyVisualStyle; } export declare enum TypographyColor { danger = "danger", default = "default", success = "success", subdued = "subdued" } export declare enum TypographyContextVariant { default = "default", expressive = "expressive", narrative = "narrative" } export declare enum TypographyVisualStyle { heading2XLarge = "heading2XLarge", headingXLarge = "headingXLarge", headingLarge = "headingLarge", headingMedium = "headingMedium", headingSmall = "headingSmall", headingXSmall = "headingXSmall", heading2XSmall = "heading2XSmall", bodyLarge = "bodyLarge", bodyMedium = "bodyMedium", bodySmall = "bodySmall", bodyXSmall = "bodyXSmall" } export declare function getBodyFontFamily(props: any): any; export declare function getBaseFontColor(props: any, isHeading?: boolean): any; export declare const colorStyles: (props: any, isHeading: boolean) => import("@emotion/react").SerializedStyles; export declare const paragraphLargeStyles: (props: any) => import("@emotion/react").SerializedStyles; export declare const paragraphMediumStyles: (props: any) => import("@emotion/react").SerializedStyles; export declare const paragraphSmallStyles: (props: any) => import("@emotion/react").SerializedStyles; export declare const paragraphXSmallStyles: (props: any) => import("@emotion/react").SerializedStyles; export declare const heading2XLargeStyles: (props: any) => import("@emotion/react").SerializedStyles; export declare const headingXLargeStyles: (props: any) => import("@emotion/react").SerializedStyles; export declare const headingLargeStyles: (props: any) => import("@emotion/react").SerializedStyles; export declare const headingMediumStyles: (props: any) => import("@emotion/react").SerializedStyles; export declare const headingSmallStyles: (props: any) => import("@emotion/react").SerializedStyles; export declare const headingXSmallStyles: (props: any) => import("@emotion/react").SerializedStyles; export declare const heading2XSmallStyles: (props: any) => import("@emotion/react").SerializedStyles; export declare const TypographyComponent: import("@emotion/styled").StyledComponent<{ theme?: import("@emotion/react").Theme; as?: React.ElementType; } & TypographyProps, React.DetailedHTMLProps, HTMLParagraphElement>, {}>;