import { ModuleWithProviders } from '@angular/core'; import { MatDialog, MatDialogRef } from '@angular/material/dialog'; import { FaIconLibrary } from '@fortawesome/angular-fontawesome'; import { Observable } from 'rxjs'; import { Attachments, Metadata } from '../models/share-point'; import { SharePointService } from '../services/share-point'; import { UserService } from '../services/user'; export interface AppUpdatesConfig { updatesList?: string; userUpdatesList?: string; version: string; } export interface AppUpdate { Description: string; Title: string; Update: number; Attachments: Attachments; __metadata: Metadata; } export interface LastUpdateUserRecieved { LastVersion: number; __metadata?: Metadata; } interface AppUpdatesDialogData { version: number; updates: AppUpdate[]; } export declare class AppUpdatesDialogComponent { private appUpdates; private dialogRef; data: AppUpdatesDialogData; saving: boolean; constructor(appUpdates: AppUpdatesService, dialogRef: MatDialogRef, data: AppUpdatesDialogData); complete(): void; } export declare class AppUpdatesService { private dialog; private spService; private userService; private _userUpdatesList; private _updatesList; private _currentVersion; private _lastUpdateUserRecieved; private _spGetOptions; constructor(config: AppUpdatesConfig, dialog: MatDialog, spService: SharePointService, userService: UserService); get(): Observable; recieved(version: number): Observable; checkUser(): Observable; } export declare class AppUpdatesModule { constructor(library: FaIconLibrary); static forRoot(config: AppUpdatesConfig): ModuleWithProviders; } export {};