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<T = HTMLParagraphElement> = {
    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<HTMLAttributes<T>, 'size'> & Omit<MantineTextProps, 'size' | 'weight' | 'component'> & DefaultProps<Selectors<typeof useStyles>> & 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<React.HTMLAttributes<unknown>, "size"> & Omit<MantineTextProps, "size" | "weight" | "component"> & DefaultProps<"root", Record<string, any>> & DataTrackingType & React.RefAttributes<HTMLParagraphElement>>;
export { Text };
