import { FillLayerStyleProps, LineLayerStyleProps, Position, ShapePainter, SymbolLayerStyleProps } from '@/types';
import { ReactElement } from 'react';
/**
 * Shape props
 *
 * @category Props
 */
export type ShapeProps = {
    id: number | string;
    paintner: ShapePainter;
    toFeatures: (data: any) => Promise<GeoJSON.Feature[]>;
    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 Shape: (props: ShapeProps) => import("react").JSX.Element;
export default Shape;
//# sourceMappingURL=Shape.d.ts.map