import { CookieService } from './cookie.service';
import * as i0 from "@angular/core";
export interface UserToken {
    access_token: string;
    expires_in: number;
    refresh_token: string;
    token_type: string;
    refresh_expires_in: number;
    username: string;
    email: string;
    fullName: string;
    tenantName: string;
    locale: string;
    type: string;
}
export declare class AuthService {
    private cookieService;
    private readonly TOKEN_COOKIE_NAME;
    private readonly API_URL_COOKIE_NAME;
    private readonly API_PATH_SUFFIX;
    constructor(cookieService: CookieService);
    /**
     * Parse token from cookie. Always reads fresh from cookie, no cache.
     */
    private parseTokenFromCookie;
    getCurrentUser(): UserToken | null;
    getAccessToken(): string | null;
    getTokenType(): string;
    getRefreshToken(): string | null;
    getApiBaseUrl(): string | null;
    isAuthenticated(): boolean;
    getUserLocale(): string;
    getUserFullName(): string;
    getUserEmail(): string;
    getTenantName(): string;
    getUsername(): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
}
