import React, { PropsWithChildren } from 'react';
import { Color } from '../../util/Color';
import { TextAlign } from '../../util/TextAlignment';
export declare enum TextType {
    Body = "body",
    Small = "small",
    Caption = "caption",
    Label = "label"
}
export declare enum TextTransform {
    Uppercase = "u-uppercase"
}
export interface TextProps extends PropsWithChildren<any> {
    [x: string]: React.ReactNode;
    type?: TextType;
    color?: Color;
    align?: TextAlign;
    transforms?: TextTransform[];
    className?: string;
    inline?: boolean;
    bold?: boolean;
    preformatted?: boolean;
    style?: React.CSSProperties;
    lineThrough?: boolean;
    asDiv?: boolean;
}
export declare const Text: React.ForwardRefExoticComponent<Pick<TextProps, keyof TextProps> & React.RefAttributes<HTMLParagraphElement>>;
export default Text;
