import React from 'react'; import { VariantProps } from 'class-variance-authority'; import { IColor, ITypoSize } from '../../../lib/types'; export interface TextProps extends VariantProps { color?: IColor; size?: ITypoSize; as?: 'span' | 'div' | 'label' | 'p'; align?: 'left' | 'center' | 'right'; } declare const textVariants: (props?: ({ weight?: "medium" | "regular" | "semibold" | "bold" | "light" | null | undefined; color?: string | null | undefined; } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; export declare const Text: React.ForwardRefExoticComponent, HTMLSpanElement>, "ref"> & TextProps & React.RefAttributes>; export default Text;