import { TClassProperties } from '../../../typedefs'; import { XTextbase } from '../XTextbase'; import { shapeType } from './types'; import { WidgetShapeNotesInterface } from '../type/widget.entity.shapenote'; import { WidgetType } from '../type/widget.type'; export type shapeInfo = { name: shapeType; path: string; offsetX: number; offsetY: number; verticalAlign: 'middle' | 'top' | 'bottom'; textAlign: 'center' | 'left' | 'right'; textMaxHeight?: number; textMaxWidth?: number; }; export declare const XShapeNotesDefaultValues: Partial>; export declare class XShapeNotes extends XTextbase implements WidgetShapeNotesInterface { static type: WidgetType; static objType: WidgetType; bgShape: shapeInfo | null; verticalAlign: string; minHeight: number; shapeName: shapeType; constructor(text: string, options: Partial & { type: string; }); getObject(): Record; handleModified(): void; resetSplitByGrapheme(): void; static ownDefaults: Record; static getDefaults(): { controls: { mr: import("../../../..").Control; ml: import("../../../..").Control; }; }; handleScaling(event: any): void; _renderBackground(ctx: any): void; _getTopOffset(): number; _getTotalLineHeight(): number; _renderTextCommon(ctx: any, method: any): void; initDimensions(): number | undefined; _getTotalLineHeights(): number; graphemeSplitForRectNotes(textstring: string): string[]; } //# sourceMappingURL=XShapeNotes.d.ts.map