import { KmlDataSource as CesiumKmlDataSource } from 'cesium'; import { PickCesiumProps, Merge, MethodOptions2, EventProps, EventTarget, SuspenseProps } from '../core'; export type { EventTarget } from '../core'; export type Target = Merge, MethodOptions2>; export type KmlDataSourceCesiumProps = PickCesiumProps; export type KmlDataSourceCesiumReadonlyProps = PickCesiumProps; export type KmlDataSourceCesiumEvents = { onChange?: (kmlDataSource: CesiumKmlDataSource) => void; onError?: (kmlDataSource: CesiumKmlDataSource, error: any) => void; onLoading?: (kmlDataSource: CesiumKmlDataSource, isLoaded: boolean) => void; onRefresh?: (kmlDataSource: CesiumKmlDataSource, urlComponent: string) => void; onUnsupportedNode?: (kmlDataSource: CesiumKmlDataSource) => void; }; export type KmlDataSourceOtherProps = EventProps & SuspenseProps & { /** Calls when the Promise for loading data is fullfilled. */ onLoad?: (kmlDataSouce: CesiumKmlDataSource) => void; data?: Parameters["load"]>[0]; }; export type KmlDataSourceProps = KmlDataSourceCesiumProps & KmlDataSourceCesiumReadonlyProps & KmlDataSourceCesiumEvents & KmlDataSourceOtherProps; declare const cesiumProps: readonly ["clustering", "name", "show"]; declare const cesiumReadonlyProps: readonly ["canvas", "camera", "ellipsoid", "clampToGround", "sourceUri", "credit", "screenOverlayContainer"]; export declare const cesiumEventProps: { readonly onChange: "changedEvent"; readonly onError: "errorEvent"; readonly onLoading: "loadingEvent"; readonly onRefresh: "refreshEvent"; readonly onUnsupportedNode: "unsupportedNodeEvent"; }; export declare const otherProps: readonly ["onLoad", "data", "suspense", "cacheKey"]; declare const KmlDataSource: import('..').CesiumComponentType; export default KmlDataSource;