import { AutosuggestResponse, AvailableLanguagesResponse, FeatureCollectionResponse, GridSectionGeoJsonResponse, GridSectionJsonResponse, LocationGeoJsonResponse, LocationJsonResponse } from '../../client'; import { ClientRequest } from '../client'; export type Transport = | FeatureCollectionResponse | string | null>(req: ClientRequest) => Promise>; export interface TransportResponse { status: number; statusText?: string; body?: T | null; headers?: Record; }