import { Appearance } from "../../Common"; import { GoogleComponent, BaseComponent } from "../GoogleComponent"; export declare let shapeClickTimeout: number | null; declare type BaseShapeProps = { fillColor: string; fillOpacity: number; strokeColor: string; strokeOpacity: number; strokeWeight: number; }; declare type Props = { appearance: Appearance; onClick?: () => void; onMouseEnter?: () => void; onMouseLeave?: () => void; }; declare abstract class ShapeComponent extends GoogleComponent { createComponent(): ComponentType; abstract createShape(shapeProps: BaseShapeProps, props: AdditionalProps): ComponentType; } export { ShapeComponent, Props as ShapeComponentProps, BaseShapeProps as ShapeProps };