import { GeoItem } from '../geo-item.interface'; import { Observable } from 'rxjs'; import { GeoSelectedState } from './geo-selected.reducer'; import { Store } from '@ngrx/store'; import { GeoApiService } from '../geo-api/geo-api.service'; import { TranslateService } from '@ngx-translate/core'; import { GeoSelectedActions } from './geo-selected.actions'; import { GeoInfoService } from '../geo-info/geo-info.service'; import { GeoModeService } from '../geo-mode/geo-mode.service'; import { GeoLocationTypeService } from '../geo-location-type/geo-location-type.service'; import { GeoIdService } from '../geo.id'; import { AppState } from '../../reducers/index'; export declare class GeoSelectedService { private _store; private geoApiService; private geoLocationTypeService; private geoSelectedActions; private geoModeService; private geoInfoService; private geoIdService; private translateService; model$: any; getModel: (_store: any) => Observable; /** * Show info message that some locations were replaced */ informAboutReplaced(items: GeoItem[]): void; /** * Set suggested radius for passed location * @param item */ setSuggestedRadius: (item: GeoItem) => Observable; /** * Set latitude, longitude or optional polygons for passed item * return {GeoItem} * @param items */ setCoordinates: (items: GeoItem[]) => Observable; extendItems(items: GeoItem[]): Observable<(GeoItem & { excluded: boolean; })[]>; addItems(items: GeoItem[]): void; setItems(items: GeoItem[]): void; updateItems(items: GeoItem[]): void; removeItems(items: GeoItem[]): void; /** * Return final targeting spec with included and excluded locations * return {TargetingSpec} */ getSpec(): Observable<{}>; constructor(_store: Store, geoApiService: GeoApiService, geoLocationTypeService: GeoLocationTypeService, geoSelectedActions: GeoSelectedActions, geoModeService: GeoModeService, geoInfoService: GeoInfoService, geoIdService: GeoIdService, translateService: TranslateService); }