import { FC, HTMLAttributes } from 'react'; export declare const Heading: FC; export declare type TextSize = 'xs' | 'md' | 'sm' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl'; export declare type TextAlign = 'center' | 'left' | 'right'; export interface HeadingProps extends HTMLAttributes { /** * set level of the heading */ level: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; /** * specifies a new fontsize for the heading. It overrides the level prop */ size?: TextSize; /** * the trim function takes an integer and trims the heading to the specified length */ trim?: number; /** * aligns the text to the left, right or center */ align?: TextAlign; }