import { Observable } from "rxjs"; import { SiteDefaults } from "../../classes/site"; import { Site } from "../../classes/site"; import { DeviceEntry, EndUserInterface, LineOption, OverviewDeviceRow, OverviewLineRow, OverviewUserRow, SelectedLineRow, TemplateDeviceLike, TemplateEndUserLike, TemplateLineLike, UserCreationType, UserDetailsForm, UserDetailsFormValue, UserTemplateInterface, LineInterface, DeviceInterface, AvailableRangeInterface, ListUserInterface } from "../../interfaces/user-creation-wizard.interfaces"; import * as i0 from "@angular/core"; export declare class UserCreationWizardService { private readonly userCreationApiService; readonly ldapTableColumns: string[]; readonly userCreationTypes: UserCreationType[]; private template; endUser: EndUserInterface | null; lines: LineInterface[]; devices: DeviceInterface[]; deviceProfiles: DeviceInterface[]; private templateLinesSnapshot; private _currentSite; get currentSite(): Site | null; siteOptions: string[]; templateOptions: string[]; lineOptions: LineOption[]; routePartitionOptions: string[]; deviceRows: number[]; ldapUsers: ListUserInterface[]; overviewUsers: OverviewUserRow[]; overviewLines: OverviewLineRow[]; overviewDevices: OverviewDeviceRow[]; overviewDeviceProfiles: OverviewDeviceRow[]; userDetailsFormValue: UserDetailsFormValue | null; userDetailsForm: UserDetailsForm; lineSelections: SelectedLineRow[]; deviceEntries: DeviceEntry[]; availableNumbers: string[]; deviceTypes: string[]; siteDefaults: SiteDefaults | null; originalSiteDefaults: SiteDefaults | null; templateLines: TemplateLineLike[]; templateDevices: TemplateDeviceLike[]; templateUserDetails: TemplateEndUserLike; selectedSite: number | null; selectedTemplateName: string | null; selectedTemplateId: number | null; selectedUserCreationType: UserCreationType; availableDidPatternsMappedToDn: any; private readonly deviceDefaultsLoadedSubject; readonly deviceDefaultsLoaded$: Observable; get firstLineRoutePartition(): string; get siteDefaultRoutePartition(): string; get routePartitionNamesList(): string[]; selectedLdapUser: ListUserInterface | null; ldapUsersTotal: number; constructor(); get isLdapIntegrated(): boolean; selectLdapUser(user: ListUserInterface): void; clearLdapUserSelection(): void; isLdapUserRowSelected(row: ListUserInterface): boolean; setLdapUsersResult(users: ListUserInterface[], total: number): void; setSelectedSite(site: number | null): void; setSelectedTemplate(template?: UserTemplateInterface | undefined): void; setCurrentSite(site: Site): void; resetTemplateDrivenData(): void; applyTemplateTokenPayload(payload: UserTemplateInterface): void; setSelectedUserCreationType(type: UserCreationType): void; resetUserDetailsStepState(): void; private captureTemplateLinesSnapshot; setUserDetailsField(field: keyof UserDetailsForm, value: string): void; applyUserDetailsFormValue(formValue: UserDetailsFormValue): void; setLineSelection(index: number, lineNumber: string | null): void; setRoutePartitionSelection(index: number, routePartitionName: string | null): void; setDeviceName(index: number, name: string): void; getDeviceDisplayName(index: number): string; getSiteAllData(siteId: number): Observable; loadDeviceDefaultsForDevices(siteId: number): Observable; private getUniqueDeviceTypes; private applyDeviceDefaultsToType; getDeviceNamePrefix(deviceIndex: number, isProfile?: boolean): string | null; getDeviceNameValidationCaption(deviceIndex: number, isProfile?: boolean): string; getDeviceNameValidationOptions(deviceIndex: number, isProfile?: boolean): { regex: string; caption: string; } | null; getNumberRange(siteId: string, routePartition: string): Observable; private rebuildOverviewUsers; private rebuildOverviewLines; private rebuildOverviewDevices; private rebuildOverviewDeviceProfiles; private extractTemplateFromTokenPayload; private uniqueByNumber; private uniqueStrings; private valueToString; private getUnwrapNumberRange; private unwrapNumberRange; setAvailableDidMappedToDn(availableNumber: any): void; loadDataFromApi(): void; private initLineWithSiteInfo; private setLineAssociationsForDevice; private initDeviceWithSiteInfo; private replaceDynamicValueSiteInfo; private replaceDynamicValueFormat; mutliStringReplace(object: any, input: string, directoryNumber?: string, user?: any): string; private initTemplateDnsNamesForLines; buildSavableEndUser(): EndUserInterface; private resolveDeviceNameForSave; saveNewUser(): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }