import { FillLayerStyleProps, Position, SymbolLayerStyleProps } from '@/types';
import { ReactElement } from 'react';
/**
 * Rectangle props
 *
 * @category Props
 */
export type RectangleProps = {
    id: number | string;
    children?: ReactElement | ReactElement[];
    outCircleStyle?: SymbolLayerStyleProps;
    innerCircleStyle?: SymbolLayerStyleProps;
    anchorStyle?: SymbolLayerStyleProps;
    fillStyle?: FillLayerStyleProps;
    onFinish?: (e: Position[]) => void;
    onError?: (e: {
        message: string;
    }) => void;
};
/**
  @category Component
 */
declare const Rectangle: (props: RectangleProps) => import("react").JSX.Element;
export default Rectangle;
//# sourceMappingURL=Rectangle.d.ts.map