import * as React from 'react'; import { TextProps } from '../../common'; export declare class Monospace extends React.PureComponent { measure(): { width: number; height: number; }; render(): JSX.Element; } export declare class Text extends React.PureComponent { static toTextCss: (props: import("../../types").TextStyle) => { color: string | undefined; fontFamily: any; fontSize: any; fontWeight: any; fontStyle: string | undefined; textAlign: any; opacity: any; letterSpacing: any; lineHeight: any; textShadow: string | undefined; textTransform: import("csstype").Property.TextTransform | undefined; }; static toShadow: (value?: string | (string | number)[] | undefined) => string | undefined; static Monospace: typeof Monospace; static measure: (props: TextProps) => { width: number; height: number; }; get size(): { width: number; height: number; }; render(): JSX.Element; }