import { HtmlHTMLAttributes, PropsWithChildren, ReactNode } from "react";
interface TextComponent {
children?: ReactNode;
H1: (props: PropsWithChildren>) => JSX.Element;
H2: (props: PropsWithChildren>) => JSX.Element;
H3: (props: PropsWithChildren>) => JSX.Element;
H4: (props: PropsWithChildren>) => JSX.Element;
H5: (props: PropsWithChildren>) => JSX.Element;
Subtitle1: (props: PropsWithChildren>) => JSX.Element;
Subtitle2: (props: PropsWithChildren>) => JSX.Element;
Body1: (props: PropsWithChildren>) => JSX.Element;
Body2: (props: PropsWithChildren>) => JSX.Element;
Body3: (props: PropsWithChildren>) => JSX.Element;
Caption: (props: PropsWithChildren>) => JSX.Element;
Error: (props: PropsWithChildren>) => JSX.Element;
}
declare const Text: TextComponent;
export default Text;