import * as React from 'react'; import { TLBounds } from '@tldraw/core'; import { TextShape, TDMeta, TDShapeType, TransformInfo, AlignStyle } from '../../../types'; import { TDShapeUtil } from '../TDShapeUtil'; declare type T = TextShape; declare type E = HTMLDivElement; export declare class TextUtil extends TDShapeUtil { type: TDShapeType.Text; isAspectRatioLocked: boolean; canEdit: boolean; canBind: boolean; canClone: boolean; bindingDistance: number; getShape: (props: Partial) => T; texts: Map; Component: React.ForwardRefExoticComponent, "bounds" | "isGhost" | "meta" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes>; Indicator: (props: { shape: TextShape; meta: any; isHovered: boolean; isSelected: boolean; bounds: TLBounds; }) => React.ReactElement>; getBounds: (shape: T) => TLBounds; shouldRender: (prev: T, next: T) => boolean; transform: (shape: T, bounds: TLBounds, { initialShape, scaleX, scaleY }: TransformInfo) => Partial; transformSingle: (shape: T, bounds: TLBounds, { initialShape, scaleX, scaleY }: TransformInfo) => Partial | void; onDoubleClickBoundsHandle: (shape: T) => { style: { scale: number; color: import("../../../types").ColorStyle; size: import("../../../types").SizeStyle; dash: import("../../../types").DashStyle; font?: import("../../../types").FontStyle | undefined; textAlign?: AlignStyle | undefined; isFilled?: boolean | undefined; }; point: number[]; }; getSvgElement: (shape: T, isDarkMode: boolean) => SVGElement | void; } export {}; //# sourceMappingURL=TextUtil.d.ts.map