import React from 'react'; import type { Type, Level, HyperlinkVariant } from './types'; export interface TextProps extends React.HTMLAttributes { as?: React.ElementType; children: React.ReactNode; type?: T; level?: Level; color?: string; fontWeight?: number | string; className?: string; hyperlinkVariant?: HyperlinkVariant; listMarkerColor?: string; } declare function Text({ as, children, type, level, color, fontWeight, className, hyperlinkVariant, listMarkerColor, ...restProps }: TextProps): JSX.Element; export default Text;