/** @format */ import { OnDestroy, OnInit } from "@angular/core"; import { NsEmpWebExpData } from "../../../models/emp-web-exp.model"; import { CommuteService } from "../../../services/commute.service"; import { NsWISConfigurations } from "../../../models/configurations.model"; import { ConfigurationService } from "../../../services/configuration.service"; export interface ICommuteChoice { id: number; name: string; icon: string; activeIcon: string; } export declare class CommuteComponent implements OnInit, OnDestroy { commuteSvc: CommuteService; private configSvc; Assets: { IMAGES: { EMPTY_HERO: string; MOBILE_EMPTY_HERO: string; NO_UPCOMING: string; HERO_BG: string; EMPTY_PLATE: string; PARKING_BG: string; CERTIFICATE: string; BOOKING_SUCCESS: string; HISTORY_EMPTY: string; }; ICONS: { MORE: string; CANCELLED: string; CANCEL_INFO: string; DOWN_ARROW: string; HERO_RIGHT: string; SEAT: string; CLOSE: string; CALENDAR: string; CAB: string; CAB_DARK: string; TICK_GREEN: string; SUCCESS_TICK: string; ARROW: string; EDIT: string; EDIT_DARK: string; CANCEL: string; IC_RADIO: string; IC_RADIO_ACTIVE: string; IC_ADD: string; IC_CLOSE: string; IC_WFO: string; IC_WFH: string; DESK: string; DESK_BULE: string; DESK_GREY: string; CHEVRON_RIGHT: string; CANCEL_BIN: string; WFH: string; WFO_CONVERT: string; WFH_CONVERT: string; WFO_CONVERT_DARK: string; WFH_CONVERT_DARK: string; QUICK_WFH: string; QUICK_WFO: string; CLOCK: string; PARKING: string; PARKING_ACTIVE: string; TRANSPORT: string; TRANSPORT_ACTIVE: string; TRANSPORT_UNAVAILABILTY: string; TRANSPORT_AVAILABILTY: string; INFO: string; CHOICE_CHIP: string; MEAL: string; MEAL_DARK: string; MEAL_CHECK: string; AVATAR: string; PARKING_MODULE: string; APPROVAL_STATUS: string; SUCCESS_RECURRENCE: string; FAILED_BOOKINGS: string; MORE_STATUS: string; }; }; private endObs; reachingOptions: NsEmpWebExpData.ICommuteOption[]; leavingOptions: NsEmpWebExpData.ICommuteOption[]; reachingSelection: NsEmpWebExpData.ICommuteOption; leavingSelection: NsEmpWebExpData.ICommuteOption; private initComplete; config: NsWISConfigurations.IConfigurations; commuteChoices: ICommuteChoice[]; constructor(commuteSvc: CommuteService, configSvc: ConfigurationService); ngOnInit(): void; ngOnDestroy(): void; setCommuteSelection(type: 0 | 1, value: NsEmpWebExpData.ICommuteOption): void; setChoice(opt: ICommuteChoice): void; }