import Shape, { ShapeProp } from './shape'; import { TextAttrs } from '../../types'; export interface TextProp extends ShapeProp { attrs?: TextAttrs; } declare class Text extends Shape { _initProperties(): void; getDefaultAttrs(): { lineWidth: number; lineCount: number; fontSize: number; fontFamily: string; fontStyle: string; fontWeight: string; fontVariant: string; textAlign: string; textBaseline: string; lineHeight: any; textArr: any; }; _getFontStyle(): string; _afterAttrsSet(): void; _getTextHeight(): number; _getSpaceingY(): number; drawInner(context: any): void; _getAriaLabel(): string; calculateBox(): { minX: number; minY: number; maxX: any; maxY: number; }; _getTextWidth(): any; } export default Text;