import React from 'react'; import { BoxSystemProps } from './Box'; import { StyleConfig } from '../utils/styleConfig'; export declare type TextParts = { text: ''; }; declare type TextDOMProps = React.ComponentPropsWithRef<'span'>; declare type TextStyleConfigProp = { styleConfig?: StyleConfig; }; declare type TextSystemProps = BoxSystemProps; export declare type TextProps = TextDOMProps & TextStyleConfigProp & TextSystemProps & { as?: React.ElementType; }; export declare const Text: React.ForwardRefExoticComponent & React.RefAttributes>; export {};