import { FC, HTMLAttributes, Ref } from 'react';
import { TextSize } from './types';
export interface TextProps extends HTMLAttributes {
/**
* Visual size of the text, typically mapped to the design system’s type scale.
*/
size?: TextSize;
/**
* If true, renders the text as a child component using `Slot`.
* Useful for compatibility with native elements or other components.
*/
asChild?: boolean;
/**
* Font weight applied to the text.
* Common values:
*
* - 400: Regular
* - 500: Medium
* - 600: Semi-bold
* - 700: Bold
* - 900: Extra bold
*/
fontWeight?: 400 | 500 | 600 | 700 | 900;
/**
* Ref to the underlying `` or slotted element.
* Useful for measuring, focusing, or DOM manipulation.
*/
ref?: Ref;
}
/** Text is a UI component used to display readable content, such as labels, descriptions, or body text, with customizable styling */
export declare const Text: FC;