import React from 'react'; import type Konva from 'konva'; import type { Rect as Rectangle } from '../image-tools/types.js'; export declare function RectControl({ rect, onChange, nodeRef, fixedRef, disabled, anchors, accept, crop, }: { rect: Rectangle; onChange(rect: Rectangle): void; nodeRef?: React.RefObject; fixedRef?: React.RefObject; disabled?: boolean; anchors?: string[]; accept?: (rect: Rectangle) => boolean; crop?: boolean; }): React.JSX.Element;