import * as React from 'react'; import { TLBounds } from '@tldraw/core'; import { ConnectorShape, TransformInfo, TDShapeType, TDMeta } from '../../../types'; import { TDShapeUtil } from '../TDShapeUtil'; declare type T = ConnectorShape; declare type E = HTMLDivElement; export declare class ConnectorUtil extends TDShapeUtil { type: TDShapeType.Connector; hideBounds: boolean; canEdit: boolean; pathCache: WeakMap; 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: ConnectorShape; meta: any; isHovered: boolean; isSelected: boolean; bounds: import("sn-wb-tldraw-core").TLBounds; }) => JSX.Element; getBounds: (shape: T) => TLBounds; getRotatedBounds: (shape: T) => TLBounds; getCenter: (shape: T) => number[]; 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; transform: (shape: T, bounds: TLBounds, { initialShape, scaleX, scaleY }: TransformInfo) => Partial; onDoubleClickHandle: (shape: T, handle: Partial) => Partial | void; onHandleChange: (shape: T, handles: Partial) => Partial | void; } export {}; //# sourceMappingURL=ConnectorUtil.d.ts.map