UNPKG

@tldraw/core

Version:

The tldraw core renderer and utilities.

9 lines 428 B
import type { TLShapeUtilsMap } from '../TLShapeUtil'; import type { TLBinding, TLBounds, TLPage, TLPageState, TLShape } from '../types'; export declare function useSelection<T extends TLShape>(page: TLPage<T, TLBinding>, pageState: TLPageState, shapeUtils: TLShapeUtilsMap<T>): { bounds: TLBounds | undefined; rotation: number; isLocked: boolean; isLinked: boolean; }; //# sourceMappingURL=useSelection.d.ts.map