import { Observable } from 'rxjs'; import { IPhoneProduct } from '../shop-configuration-service/shop-configuration'; import { AuthHttp } from '@capellasolutions/zwp-modules/auth'; import { IChangeDevice, IDeviceCompatibility } from './user-device'; import { IExistingOrder } from '../sim-activation-service/sim-activation'; export declare class UserDeviceService { private _endpointUrl; private _http; compatibleDevice: Observable; expectedDevice: Observable; isChangingDevice: Observable; code: Observable; private _compatibleDeviceSubject; private _expectedDeviceSubject; private _isChangingDeviceSubject; private _codeSubject; constructor(_endpointUrl: string, _http: AuthHttp); isSupportedDevice(code: string): Promise; isValidSimCard(code: string): Promise; changeUserDevice(changeRequest: IChangeDevice): Promise; setCompatibleDevice(device: IDeviceCompatibility): void; setExpectedDevice(device: IPhoneProduct): void; clearDevices(): void; setIsChangingDevice(isChanging: boolean): void; private _getBackendCheckCompatibility(code); private _getBackendValidateSim(code); private _getBackendChangeDevice(changeRequest); }