import { Text, ITextOptions, IAlignment, Entity, Context, Line } from './index'; import Konva from 'konva'; export declare class Word extends Text { konvaObject: Konva.Group; backgroundKonvaObject: Konva.Group; foregroundKonvaObject: Konva.Group; konvaText: Konva.Text; background?: Konva.Shape; parentLine: Line; originalAlignment?: IAlignment; constructor(context: Context, options: Partial, parentLine: Line, isRtl: boolean, originalAlignment?: IAlignment); update(options: Partial, waitForRefresh?: boolean, originalAlignment?: IAlignment): void; setBackground(): void; refresh(): void; getScale(): number; setScale(newScale: number): void; refreshScale(): void; refreshFontFamily(): void; getHeight(): number; getMinHeight(): number; getWidth(): number; getWidthBound(): number; getHeightBound(): number; static _selectionRectSceneFunc(entity: Entity, context: Konva.Context, shape: Konva.Shape): void; static _selectionRectOnMouseEnter(entity: Entity): void; static _selectionRectOnMouseOut(entity: Entity): void; static _selectionRectOnMouseClick(entity: Entity): void; selectWord(): void; deselectWord(): void; }