import * as React from "react"; import { INodeTextImmutable, INodeTextOptions, NodeTextSize, NodeTextSlope, NodeTextWeight, NodeType } from "@ef-carbon/dom"; import IBaseProps from "../IProps"; export interface IProps extends INodeTextOptions, IBaseProps { } export interface IState { } declare class Text extends React.PureComponent implements INodeTextImmutable { render(): React.ReactNode; readonly type: NodeType.Text; readonly text: string; readonly size: NodeTextSize; readonly slope: NodeTextSlope; readonly weight: NodeTextWeight; private readonly handlePress; private readonly handleLongPress; } export interface IStatic extends React.ComponentClass { } declare const component: IStatic; export { component as Component }; export default Text;