import React, { ReactNode } from 'react'; type As = 'span' | 'p'; type Size = 'xs' | 's' | 'r' | 'xr' | 'l' | 'xl' | 'inherit'; type Weight = 'regular' | 'bold' | 'inherit'; export interface TextProps { as?: As; size?: Size; weight?: Weight; className?: string; children: ReactNode; } export declare const Text: React.FC; export {};