export declare enum StorageType { localStorage = 0, sessionStorage = 1 } export declare class AuthConfig { storageType: StorageType; storageName: string; baseUrl: string; clientId: string; scope: string; redirectUri: string; profileUri: string; logoutPath: string; } export declare const authConfig: AuthConfig; export declare function getStorage(): Storage; export declare function getToken(): any; export declare function getAuthorizationHeader(): string; export declare function setToken(data: any): void; export declare function removeToken(): void; export declare function logout(): void; export declare function getAuthorizationHeaderByUrl(url: string): string; export declare class RightsCheckModel { constructor(data: any); } export declare class MenuModel { key?: number; title: string; routerLink?: string; icon?: string; privilege?: number; children?: MenuModel[]; open?: boolean; selected?: boolean; authCode?: number; } export declare const menuCheck: (menuList: MenuModel[], type: string) => any;