import { AlertService } from '../alert/alert.service';
import { AppStateService } from '../common/ui-state.service';
import { LocationStrategy } from '@angular/common';
import { BasicAuth, CookieAuth, FetchClient, Realtime } from '@c8y/client';
import * as i0 from "@angular/core";
export declare class SimplifiedAuthService {
    protected alert: AlertService;
    protected basicAuth: BasicAuth;
    protected cookieAuth: CookieAuth;
    protected realtime: Realtime;
    protected ui: AppStateService;
    protected client: FetchClient;
    protected location: LocationStrategy;
    /**
     * Logs the user out
     * @param reload If set to false, the page will not reload
     */
    logout(reload?: boolean): Promise<void>;
    /**
     * Resets the stored auth-data
     */
    reset(): Promise<[void, import("@c8y/client").IFetchResponse]>;
    protected cleanLocalStorage(): void;
    protected cleanSessionStorage(): void;
    protected redirect(url: string): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<SimplifiedAuthService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<SimplifiedAuthService>;
}
//# sourceMappingURL=simplified-auth.service.d.ts.map