/** * @fileOverview Rectangle */ import React, { SVGProps } from 'react'; import { AnimationDuration, AnimationTiming } from '../util/types'; export type RectRadius = [number, number, number, number]; interface RectangleProps { className?: string; x?: number; y?: number; width?: number; height?: number; radius?: number | RectRadius; isAnimationActive?: boolean; isUpdateAnimationActive?: boolean; animationBegin?: number; animationDuration?: AnimationDuration; animationEasing?: AnimationTiming; } export declare const isInRectangle: (point: { x: number; y: number; }, rect: { x: number; y: number; width: number; height: number; }) => boolean; export type Props = Omit, 'radius'> & RectangleProps; export declare const Rectangle: React.FC; export {};