import { GeoJsonDataSource as CesiumGeoJsonDataSource } from 'cesium'; import { PickCesiumProps, Merge, MethodOptions2, EventProps, EventTarget, SuspenseProps } from '../core'; export type { EventTarget } from '../core'; export type Target = Merge, MethodOptions2>; export type GeoJsonDataSourceCesiumProps = PickCesiumProps; export type GeoJsonDataSourceCesiumReadonlyProps = PickCesiumProps; export type GeoJsonDataSourceCesiumEvents = { onChange?: (GeoJsonDataSource: CesiumGeoJsonDataSource) => void; onError?: (GeoJsonDataSource: CesiumGeoJsonDataSource, error: any) => void; onLoading?: (GeoJsonDataSource: CesiumGeoJsonDataSource, isLoaded: boolean) => void; }; export type GeoJsonDataSourceOtherProps = EventProps & SuspenseProps & { /** Calls when the Promise for loading data is fullfilled. */ onLoad?: (GeoJsonDataSouce: CesiumGeoJsonDataSource) => void; data?: Parameters["load"]>[0]; }; export type GeoJsonDataSourceProps = GeoJsonDataSourceCesiumProps & GeoJsonDataSourceCesiumReadonlyProps & GeoJsonDataSourceCesiumEvents & GeoJsonDataSourceOtherProps; declare const cesiumProps: readonly ["clustering", "name", "show"]; declare const cesiumReadonlyProps: readonly ["clampToGround", "sourceUri", "credit", "markerSize", "markerSymbol", "markerColor", "stroke", "strokeWidth", "fill", "describe"]; export declare const cesiumEventProps: { readonly onChange: "changedEvent"; readonly onError: "errorEvent"; readonly onLoading: "loadingEvent"; }; export declare const otherProps: readonly ["onLoad", "data", "suspense", "cacheKey"]; declare const GeoJsonDataSource: import('..').CesiumComponentType; export default GeoJsonDataSource;