import { Text, ITextOptions, ICue, Line, Word, IStyle, Entity, Context, ICaptureIndicator } from './index'; import Konva from 'konva'; export declare class Cue extends Text { static fontMeasures: { [key: string]: number; }; static fontCanvas: HTMLCanvasElement; options: Partial; wordsOptions?: Partial[]; konvaObject: Konva.Group; backgroundKonvaObject: Konva.Group; foregroundKonvaObject: Konva.Group; lines: Line[]; background?: Konva.Shape; originalCue?: ICue; selectedWord?: Word; direction: string; centerX: boolean; centerY: boolean; lineSpacing: number; align: string; thumb?: Konva.Group; konvaThumbText?: Konva.Text; konvaThumbShape?: Konva.Shape; thumbText?: string; thumbWidth: number; thumbHeight: number; constructor(context: Context, options: Partial, wordsOptions?: Partial[], originalCue?: ICue, direction?: string, thumbText?: string); static setFontCanvas(canvas: HTMLCanvasElement): void; static _extractWordsOptions(context: Context, cue: ICue, options?: IStyle, defaultWordOption?: Partial): Partial[]; static generateFromCue(context: Context, cue: ICue, options?: IStyle, direction?: string, thumbText?: string): Cue; update(options: Partial, wordsOptions?: Partial[], direction?: string, thumbText?: string): void; updateFromCue(cue: ICue, options?: IStyle, direction?: string, thumbText?: string): void; setScale(newScale: number): void; selectCue(): void; deselectCue(): void; refreshFontFamily(): void; getCaptureIndicators(): ICaptureIndicator[]; getUpperBound(): number; getWidthBound(): any; getHeightBound(): any; setAlignment(): void; setBackground(): void; refresh(): void; render(): void; _getLineSpacing(lineIndex: number): number; _refreshTrueHeight(): void; shouldStartLooping(): boolean; seek(time: number, reset?: boolean): void; createAnimations(): void; addTo(newParent: Konva.Layer | Konva.Group, newBackgroundParent?: Konva.Layer | Konva.Group, newForegroundParent?: Konva.Layer | Konva.Group, drawingLayer?: Konva.Layer): void; getWords(): Word[]; _create(): void; onPositionChanged(): void; _getPositions(): { x: number; y: number; posX: string; posY: string; }; _createThumb(): void; _thumbSceneFunc(context: Konva.Context, shape: Konva.Shape, width: number, height: number): void; _updateThumb(x: number, y: number, scale: number): void; static _selectionRectSceneFunc(entity: Entity, context: Konva.Context, shape: Konva.Shape): void; static _selectionRectOnMouseEnter(entity: Entity, event: Konva.KonvaEventObject): void; static _selectionRectOnMouseDown(entity: Entity, event: Konva.KonvaEventObject, mouseIn: boolean): void; static _selectionRectOnMouseUp(entity: Entity, event: Konva.KonvaEventObject, mouseIn: boolean): void; static _selectionRectOnMouseOut(entity: Entity, event: Konva.KonvaEventObject): void; static _selectionRectOnMouseClick(entity: Entity, event: Konva.KonvaEventObject): void; static _getMinimalFontSize(fontFamily: string, fontSize: number): number; static _getFontMeasure(fontFamily: string): number; static _measureFont(fontFamily: string, fontSize: number): number; }