import { ReactElement, HTMLAttributes } from 'react';
declare const headings: {
h1: string;
h2: string;
h3: string;
h4: string;
h5: string;
h6: string;
};
declare const variants: {
h1: string;
h2: string;
h3: string;
h4: string;
h5: string;
h6: string;
button: string;
tag: string;
text: string;
inputText: string;
inputLabel: string;
itemLabel: string;
};
declare type TComponentProps = HTMLAttributes;
declare type THeading = keyof typeof headings;
export interface ITypographyProps extends TComponentProps {
className?: string;
variant: keyof typeof variants;
component?: THeading | 'div' | 'span';
}
declare const Typography: ({ className, component, variant, ...rest }: ITypographyProps) => ReactElement;
export default Typography;