import { type TomTomMap, TrafficFlowModule, type TrafficIncidentsModule } from "@tomtom-org/maps-sdk/map"; declare global { interface Window { __e2e_ml?: unknown; } } interface MapControlsOptions { position?: "top-left" | "top-right"; showTrafficToggle?: boolean; showIncidentsToggle?: boolean; showThemeToggle?: boolean; /** Pass existing TrafficFlowModule to control instead of creating new one */ externalTrafficModule?: TrafficFlowModule; /** Pass existing TrafficIncidentsModule to control instead of creating new one */ externalIncidentsModule?: TrafficIncidentsModule; /** Called after a theme change once the new style has loaded. Use this to re-add custom sources/layers. */ onThemeChange?: () => void; } /** * Adds theme, traffic flow and traffic incidents toggle buttons to the map. * Traffic starts hidden and the theme starts light. */ export declare function createMapControls(map: TomTomMap, { position, showTrafficToggle, showIncidentsToggle, showThemeToggle, externalTrafficModule, externalIncidentsModule, onThemeChange, }?: MapControlsOptions): Promise; export {}; //# sourceMappingURL=map-controls.d.ts.map