import * as react from 'react';
import { HTMLAttributes } from 'react';
interface TextProps extends HTMLAttributes {
/** Which element to render */
as?: "p" | "span" | "div" | "label";
/** Text size */
size?: "xs" | "sm" | "md" | "lg";
/** Font weight */
weight?: "normal" | "medium" | "semibold" | "bold";
/** Text color preset */
color?: "default" | "muted" | "accent" | "danger" | "success";
}
declare const Text: react.ForwardRefExoticComponent>;
export { Text, type TextProps };