import { UnionOrIntersection } from './common'; import { GeoGridProperties, GeoGridRequestSearchBase, GeoGridResponse, GeohashCentroid } from './geogrid'; export type GeohashRequestSearchBase = GeoGridRequestSearchBase; export type GeohashRequestDepartureSearch = GeohashRequestSearchBase & { departure_time: string; }; export type GeohashRequestArrivalSearch = GeohashRequestSearchBase & { arrival_time: string; }; export type GeohashRequest = { /** * Values can be in range [1, 6] */ resolution: number; properties: Array; departure_searches?: Array; arrival_searches?: Array; unions?: Array; intersections?: Array; }; export type GeohashResponse = GeoGridResponse;