import { DiffProps, ObjectDiff, ObjectInputProps, ObjectSchemaType } from "sanity"; /** * Diff component for `geopoint` and `geopointRadius` values. Renders a * before/after static map preview using `DiffFromTo`, matching the look of the * built-in image diff. Handles both types: the preview detects a `radius` field * and draws the radius circle when present. */ declare function GeopointDiff({ diff, schemaType }: DiffProps): import("react").JSX.Element; interface LatLng { lat: number; lng: number; } interface Geopoint { _type: 'geopoint'; _key?: string; lat: number; lng: number; alt?: number; zoom?: number; } interface GeopointRadius { _type: 'geopointRadius'; _key?: string; lat: number; lng: number; alt?: number; radius: number; } type GeopointSchemaType = ObjectSchemaType; type GeopointRadiusSchemaType = ObjectSchemaType; interface GoogleMapsInputConfig { apiKey: string; defaultZoom?: number; defaultLocale?: string; saveZoom?: boolean; defaultLocation?: { lat: number; lng: number; }; defaultRadiusZoom?: number; defaultRadius?: number; } type GeopointInputProps = ObjectInputProps & { geoConfig: GoogleMapsInputConfig; }; declare function GeopointInput(props: GeopointInputProps): import("react").JSX.Element; type GeopointRadiusInputProps = ObjectInputProps & { geoConfig: GoogleMapsInputConfig; }; declare function GeopointRadiusInput(props: GeopointRadiusInputProps): import("react").JSX.Element; declare const googleMapsInput: import("sanity").Plugin; export { type Geopoint, GeopointDiff, GeopointInput, type GeopointInputProps, type GeopointRadius, GeopointRadiusInput, type GeopointRadiusInputProps, type GeopointRadiusSchemaType, type GeopointSchemaType, type GoogleMapsInputConfig, type LatLng, googleMapsInput }; //# sourceMappingURL=index.d.ts.map