import React$1, { Component, ReactElement } from "react"; import * as react_jsx_runtime0 from "react/jsx-runtime"; //#region src/types.d.ts type LatLng = { lat: string | number; lng: string | number; }; type LocationType = string | number | LatLng | Array; type CacheType = { [key: string]: string | Promise; }; type RequestStrategyOptions = { key: string; baseURL: string; origin: string | LatLng; destination: string | LatLng; waypoints?: unknown; avoid?: string; travelMode: string; transitMode?: string; transitRoutingPreference?: string; [index: string]: unknown; }; type RequestStrategy = (data: RequestStrategyOptions) => Promise; interface MarkerProps { size?: "tiny" | "mid" | "small" | "normal"; color?: string; iconURL?: string; label?: string; scale?: "1" | "2" | "4" | 1 | 2 | 4; anchor?: string; location: LocationType; } type MarkerGroupProps = Omit & { children?: ReactElement | ReactElement[]; }; interface PathProps { weight?: string | number; color?: string; fillcolor?: string; geodesic?: boolean; points: LocationType; } type PathGroupProps = Omit & { children?: ReactElement | ReactElement[]; }; interface DirectionProps { baseURL?: string; origin: string | LatLng; destination: string | LatLng; apiKey?: string; waypoints?: unknown; avoid?: string; travelMode?: "driving" | "walking" | "bicycling" | "transit"; transitMode?: "bus" | "subway" | "train" | "tram" | "rail"; transitRoutingPreference?: "less_walking" | "fewer_transfers"; requestStrategy?: "fetch" | "native" | RequestStrategy; weight?: string | number; color?: string; fillcolor?: string; geodesic?: boolean; } interface StaticGoogleMapProps { as?: React.ElementType; onGenerate?: (url: string) => void; rootURL?: string; size: string; scale?: "1" | "2" | "4" | 1 | 2 | 4; format?: "png" | "png8" | "png32" | "gif" | "jpg" | "jpg-baseline"; maptype?: "roadmap" | "satellite" | "terrain" | "hybrid"; language?: string; region?: string; visible?: string; style?: string; mapId?: string; center?: string; zoom?: string | number; client?: string; apiKey?: string; signature?: string; channel?: string; cache?: boolean | CacheType; onCacheUpdate?: (cache: CacheType) => void; children?: React.ReactNode; [key: string]: unknown; } /** The shape strategies receive: a React element destructured as { props, type } */ interface StrategyElement

{ props: P; type: { defaultProps?: Partial

; }; } //#endregion //#region src/components/StaticGoogleMap.d.ts declare class StaticGoogleMap extends Component { static defaultProps: { as: string; scale: number; format: string; rootURL: string; apiKey: string; maptype: string; cache: boolean; }; MemoizedDirectionStrategy: ({ props }: StrategyElement, parentProps: StaticGoogleMapProps) => string | Promise; buildParts(children: React$1.ReactNode, props: StaticGoogleMapProps): any[] | null | undefined; render(): react_jsx_runtime0.JSX.Element; } //#endregion //#region src/components/Marker.d.ts type MarkerComponent = ((props: MarkerProps) => null) & { defaultProps: Partial; Group: ((props: MarkerGroupProps) => null) & { defaultProps: Partial; }; }; declare const Marker: MarkerComponent; //#endregion //#region src/components/Path.d.ts type PathComponent = ((props: PathProps) => null) & { defaultProps: Partial; Group: ((props: PathGroupProps) => null) & { defaultProps: Partial; }; }; declare const Path: PathComponent; //#endregion //#region src/components/Direction.d.ts type DirectionComponent = ((props: DirectionProps) => null) & { defaultProps: Partial; }; declare const Direction: DirectionComponent; //#endregion export { type CacheType, Direction, type DirectionProps, type LatLng, type LocationType, Marker, type MarkerGroupProps, type MarkerProps, Path, type PathGroupProps, type PathProps, type RequestStrategy, type RequestStrategyOptions, StaticGoogleMap, type StaticGoogleMapProps };