import { HttpEvent, HttpHandler, HttpRequest } from '@angular/common/http'; import { ConfService } from './conf.service'; import { Observable, Subject } from 'rxjs'; import { ToastrService } from 'ngx-toastr'; import * as i0 from "@angular/core"; export declare class AuthService { private confService; private toastr; updatedProfilePic: Subject; currency: string; private readonly hexDigits; private readonly hexLookup; private authStorePath; /** Guards against showing the session-expired toast repeatedly when several calls 401 at once. */ private sessionExpiredNotified; constructor(confService: ConfService, toastr: ToastrService); static toDateTime(secs: number): Date; private isLoggedInUser; /** Show a clear, localized "session expired - please log in again" toast, at most once per burst. */ private notifySessionExpired; private static needsAuth; set(where: string, what: string): void; get(where: string): string | null; has(where: string): boolean; setsyliusHeaders(req: HttpRequest, defaultCurrency?: string, show_currency_selector?: boolean): Observable>; handle0Error(req: HttpRequest, next: HttpHandler): Observable>; setHeaders(req: HttpRequest, next: HttpHandler): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }