import React from 'react'; import { CSS } from "../config/stitches.config"; import { StyledTextVariants } from "./text-styled"; declare type Size = 'base' | 'sm' | 'lg' | 'xl' | '2xl' | 'xs' | undefined; interface Props extends StyledTextVariants { css?: CSS; as?: keyof JSX.IntrinsicElements; sm?: Size; md?: Size; lg?: Size; xl?: Size; size?: Size; } declare type NativeAttrs = Omit, keyof Props>; export declare type TextProps = Props & NativeAttrs; export declare const TextComponent: React.FC>; export declare const Text: React.FC>; export default Text;