import { JSXElementConstructor } from "react"; import { IMapToolProps } from "geovisto"; export declare type IToolDataProps = T & { children?: React.ReactNode; onToolChange?: (data: IToolData, property?: string) => void; }; export declare type IToolData = any; export declare type IToolComponentProps = IToolDataProps; declare type IToolComponent = ((props: IToolComponentProps) => JSX.Element); declare type IToolRefComponent = React.ForwardRefExoticComponent; export declare type ISupportedToolComponent = IToolComponent | IToolRefComponent | IReactElement; export declare type ISupportedTopLevelComponent = React.ForwardRefExoticComponent | IToolComponent | IReactElement; export declare type IReactElement = string | JSXElementConstructor; export {};