import React from 'react'; type TextProps = { as?: C; size?: string; weight?: string | number; color?: string; } & Omit, 'as' | 'size' | 'weight' | 'color'>; type AllowedTags = 'p' | 'span' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'pre' | 'label' | 'footer'; export declare const Text: ({ as: Component, size, weight, color, className, style, ...props }: TextProps) => React.ReactElement<{ className: string; style: React.PropsWithoutRef>["style"] | undefined; } & Omit, "style" | "as" | "size" | "weight" | "color" | "className">, string | React.JSXElementConstructor>; export {};