import { ITokenService } from '@delon/auth';
import { ReuseTabService } from '@delon/abc';
import { IStartupService } from './i-startup.service';
import { IAddUerRoleParamConfig } from '../page/identity/user/roles/identity--user--roles.component';
/**
 * IdentityServer
 */
export declare class IdentityService {
    private location;
    private tokenService;
    private reuseTabService;
    startupService: IStartupService;
    identityScopes: Array<string>;
    permissionsKey: string;
    private addUerRoleParam;
    private readonly IDENTITY_URL;
    constructor(location: any, // tslint:disable-line:no-any
    tokenService: ITokenService, reuseTabService: ReuseTabService, startupService: IStartupService, identityScopes: Array<string>, permissionsKey: string, addUerRoleParam: IAddUerRoleParamConfig);
    private get httpHeaders();
    authorizedCallback(): void;
    /**
     * login
     */
    login(): void;
    /**
     * logout
     */
    logout(): void;
    private clear;
    private decodeUrl2Base64;
    /**
     * fetch user info
     */
    private fetchUserInfo;
    private getIdToken;
    private setAuthorizationData;
}
