import React, { JSX } from 'react';
import { NormalTypes } from '../utils/prop-types';
export interface Props {
    tag: keyof JSX.IntrinsicElements;
    color?: NormalTypes;
    className?: string;
}
type NativeAttrs = Omit<React.DetailsHTMLAttributes<any>, keyof Props>;
export type TextChildProps = Props & NativeAttrs;
declare const TextChild: React.FC<React.PropsWithChildren<TextChildProps>>;
export default TextChild;
