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