import { RentalVehicle, VehicleRentalStation } from "@opentripplanner/types/otp2"; import type { Company, ConfiguredCompany, Location, Stop, StopEventHandler } from "@opentripplanner/types"; import { type StopIdAgencyMap } from "./util"; export declare const defaultMessages: { [key: string]: string; }; export type Feed = { feedId: string; publisher: { name: string; }; }; type MapPopupEntity = Stop | VehicleRentalStation | RentalVehicle; type Props = { closePopup?: (arg?: boolean) => void; configCompanies?: ConfiguredCompany[]; entity: MapPopupEntity; getEntityName?: (entity: MapPopupEntity, configCompanies: Company[], feedName?: string, includeParenthetical?: boolean) => string; getEntityPrefix?: (entity: MapPopupEntity) => JSX.Element; feeds?: Feed[]; setLocation?: ({ location, locationType }: { location: Location; locationType: string; }) => void; setViewedStop?: StopEventHandler; }; /** * Renders a map popup for a stop, scooter, or shared bike */ export declare function MapPopup({ closePopup, configCompanies, entity, getEntityName, getEntityPrefix, setLocation, setViewedStop, feeds, }: Props): JSX.Element; export default MapPopup; export { type StopIdAgencyMap }; //# sourceMappingURL=index.d.ts.map