///
export declare namespace TextComponent {
type Props = ParagraphTypes & {
onClick?: (event: React.MouseEvent) => void;
children?: React.ReactNode;
type?: Type;
};
type Category = 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'caption' | 'link' | 'title';
type Weight = 'regular' | 'medium' | 'semiBold';
type Type = 'error' | 'success';
type ParagraphTypes = {
category?: Category;
weight: Weight;
color?: string;
type?: Type;
};
}