import React, { HTMLAttributes } from 'react';
import { DefaultProps, Selectors, TextProps as MantineTextProps } from '@mantine/core';
import { DataTrackingType } from "../../../interfaces/types";
import { TextSize } from "../../../mantine";
import useStyles from "./index.styles";
export type TextProps = {
size?: TextSize;
weight?: 'regular' | 'semiBold' | 'bold' | 'caption' | 'halfBold';
as?: any;
wordWrap?: 'none' | 'break-word' | 'break-all';
isUppercase?: boolean;
variant?: 'primary' | 'secondary' | 'tertiary' | 'disabled' | 'error' | 'success';
href?: string;
} & Omit, 'size'> & Omit & DefaultProps> & DataTrackingType;
declare const Text: React.ForwardRefExoticComponent<{
size?: TextSize;
weight?: 'regular' | 'semiBold' | 'bold' | 'caption' | 'halfBold';
as?: any;
wordWrap?: 'none' | 'break-word' | 'break-all';
isUppercase?: boolean;
variant?: 'primary' | 'secondary' | 'tertiary' | 'disabled' | 'error' | 'success';
href?: string;
} & Omit, "size"> & Omit & DefaultProps<"root", Record> & DataTrackingType & React.RefAttributes>;
export { Text };