import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export interface TimeSync { outOfSync: boolean; timeOutOfSyncInSec?: number; localDateTimeISO: string; serverDateTimeISO: string; } export declare class TimeSyncService { private readonly _injector; private readonly _appConfigService; private readonly _http; constructor(); checkTimeSync(maxAllowedClockSkewInSec: number): Observable; /** * Checks if the local time is out of sync with the server time. * * @param maxAllowedClockSkewInSec - The maximum allowed clock skew in seconds. * @returns An Observable that emits a boolean indicating whether the local time is out of sync. */ isLocalTimeOutOfSync(maxAllowedClockSkewInSec: number): Observable; private getServerTime; private getServerTimeUrl; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }