import React from 'react';
import { TextAlign, TypographyVariants } from '../types';
import { type ITooltip } from '../Tooltip/Tooltip';
type Props = {
    italic?: boolean;
    variant?: string;
    mode?: string;
    isEnriched?: boolean;
    'full-width'?: boolean;
    'text-align'?: TextAlign;
    'hide-when-empty'?: boolean;
} & ITooltip;
declare global {
    namespace React.JSX {
        interface IntrinsicElements {
            'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props;
            'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props & {
                readonly?: boolean;
            };
        }
    }
}
declare const Text: React.ForwardRefExoticComponent<Omit<{
    italic?: boolean;
    variant?: string;
    mode?: string;
    isEnriched?: boolean;
    'full-width'?: boolean;
    'text-align'?: TextAlign;
    'hide-when-empty'?: boolean;
} & ITooltip & {
    typography?: TypographyVariants;
} & Omit<React.HTMLProps<HTMLSpanElement>, "mode">, "ref"> & React.RefAttributes<HTMLElement>>;
export default Text;
