///
import { Appearance, Coords } from "../../Common";
import { GoogleComponent } from "../GoogleComponent";
declare type DrawnPolygon = {
path: Coords[];
remove: () => void;
};
declare type Props = {
appearance: Appearance;
editable: boolean;
onPolygonCreated: (polygon: DrawnPolygon) => void;
};
declare class DrawingTool extends GoogleComponent {
private polygon;
createComponent(): google.maps.drawing.DrawingManager;
private fetchPolygonPath;
}
export { DrawingTool, Props as DrawingToolProps, DrawnPolygon };