import { Entity, ITextOptions, TTextDecoration, Context } from './index'; import Konva from 'konva'; export declare class Text extends Entity { case: string; text: string; processedText: string; fontFamily: string; fontSize: number; fontStyle: string; fill: string; stroke: string; strokeWidth: number; fillAfterStrokeEnabled: boolean; shadowColor: string; shadowOpacity: number; shadowBlur: number; shadowOffsetX: number; shadowOffsetY: number; textDecoration: TTextDecoration[]; backgroundType: string; backgroundColor: string; cornerRadius: number; constructor(context: Context, options: Partial); update(options: Partial): void; _processText(text?: string): string | undefined; _toKonvaOptions(options: Partial): import("konva/lib/shapes/Text").TextConfig; _drawRect(ctx: Konva.Context, x: number, y: number, width: number, height: number, radius: number): void; }