import * as React from 'react'; import { TLBounds } from '@tldraw/core'; import { TriangleShape, TDShapeType, TDMeta, TDShape } from '../../../types'; import { TDShapeUtil } from '../TDShapeUtil'; import { transformRectangle, transformSingleRectangle } from '../shared'; declare type T = TriangleShape; declare type E = HTMLDivElement; export declare class TriangleUtil extends TDShapeUtil { type: TDShapeType.Triangle; canBind: boolean; showCloneHandles: boolean; canClone: boolean; canEdit: 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: TriangleShape; meta: any; isHovered: boolean; isSelected: boolean; bounds: import("sn-wb-tldraw-core").TLBounds; }) => JSX.Element; private getPoints; shouldRender: (prev: T, next: T) => boolean; getBounds: (shape: T) => import("sn-wb-tldraw-core").TLBounds; getExpandedBounds: (shape: T) => TLBounds; hitTestLineSegment: (shape: T, A: number[], B: number[]) => boolean; hitTestBounds: (shape: T, bounds: TLBounds) => boolean; getBindingPoint: (shape: T, fromShape: K, point: number[], origin: number[], direction: number[], bindAnywhere: boolean) => { point: number[]; distance: number; } | undefined; transform: typeof transformRectangle; transformSingle: typeof transformSingleRectangle; } export {}; //# sourceMappingURL=TriangleUtil.d.ts.map