import type Konva from 'konva'; import type { Box } from 'konva/lib/shapes/Transformer'; export declare const restoreHeldPoint: (clamped: Box, newBox: Box, oldBox: Box) => Box; export type CropBoundMode = 'cover' | 'contain'; type Ref = { current: T | null; }; export declare const cropBoundBoxFunc: (moving: Ref, fixed: Ref, mode: CropBoundMode, themed?: (oldBox: Box, newBox: Box) => Box) => (oldBox: Box, newBox: Box) => Box; export {};