import type { FC, HTMLAttributes, PropsWithChildren, Ref } from 'react'; import { type VariantProps } from 'class-variance-authority'; import type { TestableProps } from '../../utils/testId'; declare const textVariants: (props?: ({ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined; weight?: "bold" | "light" | "regular" | "medium" | null | undefined; color?: "primary" | "secondary" | "inherit" | "primary-alt" | "secondary-alt" | "tertiary-alt" | "danger" | null | undefined; align?: "center" | "left" | "right" | null | undefined; inline?: boolean | null | undefined; grow?: boolean | null | undefined; truncate?: boolean | null | undefined; decoration?: "dashed" | null | undefined; lineHeight?: "none" | "normal" | "tight" | "snug" | "relaxed" | null | undefined; textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; type TextNativeProps = Omit, 'className' | 'color'>; type TextVariantProps = VariantProps; interface TextBaseProps { asChild?: boolean; lineClamp?: number; ref?: Ref; } export type TextProps = TextNativeProps & TextVariantProps & TextBaseProps & TestableProps; export declare const Text: FC>; export {};