import { OnInit } from '@angular/core'; import { Subject } from 'rxjs'; import { SimplifiedUser } from '../classes/simplified-user'; import { APIService } from './api.service'; import { LineAssociation } from '../classes/line-association'; import { LineAssociationInterface } from '../classes/line-association-interface'; import { LineService } from './line.service'; import * as i0 from "@angular/core"; export declare class UserService implements OnInit { private apiService; private lineService; siteId: number; userId: string; dataPending: boolean; userIdExistPending: boolean; hasExistedUserId: boolean; _user: SimplifiedUser; get user(): SimplifiedUser; originUser: SimplifiedUser; onUserLineSaved$: Subject; get lineAssociation(): LineAssociation | LineAssociationInterface; get originLineAssociation(): LineAssociation | LineAssociationInterface; constructor(apiService: APIService, lineService: LineService); ngOnInit(): void; fetchUserToken(siteId: number, userId: string, isLdap?: boolean, isSetNewTokenOnly?: boolean): any; fetchWebexUserToken(customerId: string, userId: string): any; updateUserFields(body: any): any; fetchUserById(id: string): import("rxjs").Observable; persistCacheChanges(): any; editTranslationPattern(cucmId: string, oldpattern: string, newPattern: string, extension: string, routePartitionName: string, description: string): import("rxjs").Observable; processUserChangesToCache(): any; saveNewLine(): any; runNewLineCreation(): void; getLinePkIdFromUser(user: any, index: number): any; deleteLine(siteId: number, pkid: string, token: string): import("rxjs").Observable; disassociateLine(siteId: number, linePkid: string, token: string, deviceName: string): import("rxjs").Observable; updateLineFields(siteId: number, pkid: string, token: string, alertingName: any): any; updateDeviceFields(siteId: number, deviceName: string, token: string): any; checkDestinationNumber(siteId: string, directoryNumber: string, routePartitionName: string): any; associateLineToUserDevice(siteId: number, deviceName: string, body: any, pkid: any, css: any): any; hasUnsavedChanges(): boolean; setSimplifiedUser(user: any, isLdap?: boolean): void; private handleSaveUserResponse; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }