import { Observable } from 'rxjs';
import { AccountInfo } from '../page-scaffold/public-api';
import { logout, TokenResponse } from './authorization';
import * as i0 from "@angular/core";
export declare class AuthorizationStateService {
    private readonly http;
    private readonly state$;
    private checkTokenCache$;
    private refreshTokenCache$;
    payloadSnapshot: AccountInfo;
    logout: typeof logout;
    constructor();
    logoutWithAudit(): void;
    refreshToken(): Observable<TokenResponse>;
    checkToken(): Observable<unknown>;
    getTokenPayload<T>(): Observable<T>;
    getAccountInfo(): Observable<any>;
    getTokenByStorage(): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<AuthorizationStateService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<AuthorizationStateService>;
}
