import * as React from 'react'; import { TLBounds } from '@tldraw/core'; import { DrawShape, TDShapeType, TransformInfo, TDMeta } from '../../../types'; import { TDShapeUtil } from '../TDShapeUtil'; declare type T = DrawShape; declare type E = SVGSVGElement; export declare class DrawUtil extends TDShapeUtil { type: TDShapeType.Draw; pointsBoundsCache: WeakMap; shapeBoundsCache: Map; rotatedCache: WeakMap; pointCache: Record; canClone: boolean; getShape: (props: Partial) => T; Component: React.ForwardRefExoticComponent, "bounds" | "meta" | "isGhost" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes>; Indicator: (props: { shape: DrawShape; meta: any; isHovered: boolean; isSelected: boolean; bounds: import("sn-wb-tldraw-core").TLBounds; }) => JSX.Element; transform: (shape: T, bounds: TLBounds, { initialShape, scaleX, scaleY }: TransformInfo) => Partial; getBounds: (shape: T) => TLBounds; shouldRender: (prev: T, next: T) => boolean; hitTestPoint: (shape: T, point: number[]) => boolean; hitTestLineSegment: (shape: T, A: number[], B: number[]) => boolean; hitTestBounds: (shape: T, bounds: TLBounds) => boolean; } export {}; //# sourceMappingURL=DrawUtil.d.ts.map