import { Credit, Ellipsoid, Rectangle, Google2DImageryProvider as CesiumGoogle2DImageryProvider } from 'cesium'; import { ReactNode } from 'react'; export type Google2DImageryProviderCesiumReadonlyProps = { /** The map type of the Google map imagery. Valid options are satellite, terrain, and roadmap. */ mapType?: "satellite" | "terrain" | "roadmap"; /** An IETF language tag that specifies the language used to display information on the tiles. */ language?: string; /** A Common Locale Data Repository region identifier (two uppercase letters) that represents the physical location of the user. */ region?: string; /** Returns a transparent overlay map with the specified layerType. */ overlayLayerType?: "layerRoadmap" | "layerStreetview" | "layerTraffic"; /** An array of JSON style objects that specify the appearance and detail level of map features. */ styles?: any; /** The ellipsoid. If not specified, the default ellipsoid is used. */ ellipsoid?: Ellipsoid; /** The minimum level-of-detail supported by the imagery provider. */ minimumLevel?: number; /** The maximum level-of-detail supported by the imagery provider. */ maximumLevel?: number; /** The rectangle, in radians, covered by the image. */ rectangle?: Rectangle; /** A credit for the data source, which is displayed on the canvas. */ credit?: Credit | string; }; export type Google2DImageryProviderOtherProps = { children?: ReactNode; /** Calls when the imagery provider is successfully created. */ onReady?: (imageryProvider: CesiumGoogle2DImageryProvider) => void; /** The Ion asset ID to load from Cesium Ion. Alternative to using mapType/key. */ assetId?: string; /** The access token for Cesium Ion. Only needed if assetId is provided and different from default. */ accessToken?: string; /** The API key to access Google 2D Tiles. If not provided, uses GoogleMaps.defaultApiKey. */ key?: string; }; export type Google2DImageryProviderProps = Google2DImageryProviderCesiumReadonlyProps & Google2DImageryProviderOtherProps; declare const Google2DImageryProvider: import('..').CesiumComponentType; export default Google2DImageryProvider;