/**
 * Copyright (c) Adaptavist, Inc.
 */
import { FontControls, GenericProps } from '../../utilities';
import { ComponentPropsWithoutRef } from 'react';
export type TextTransform = 'capitalize' | 'inherit' | 'initial' | 'lowercase' | 'none' | 'uppercase';
export type TextType = 'code' | 'del' | 'em' | 'p' | 'strong' | 'sub' | 'sup' | 'u';
type BaseProps = {
    /**
     * Prop to set the Text Atom to only allow its' text to be read by a screenreader.
     *
     * If set to true, the Text will be invisible for the average user.
     * If set to false, the Text will render as normal.
     *
     * Default is `false`.
     */
    isScreenreaderOnly?: boolean;
    /**
     * Toggles the type of text that is applied to a Text Atom.
     *
     * Default is `p`.
     */
    textType?: TextType;
    /**
     * Toggles the type of text-transform that is applied to a Text Atom.
     *
     * Default is `none`.
     */
    textTransform?: TextTransform;
} & GenericProps & FontControls;
export type IText = BaseProps & (({
    isSpan: true;
} & ComponentPropsWithoutRef<'span'>) | ({
    isSpan?: false;
} & ComponentPropsWithoutRef<'p'>));
export {};
