import { Injector } from '@angular/core'; import { Observable } from 'rxjs'; import { Layout } from '../models'; import { HttpErrorResponse } from '@angular/common/http'; export declare class LayoutService { private injector; private renderer; private rendererFactory; private themeSettingsService; private layoutState; private layoutConfigSubject; private classes; private attrs; constructor(injector: Injector); initLayout(): void; getConfig(): any; setConfig(config: any): void; getProp(path: string): any; setCSSClass(path: string, classesInStr: string): void; getCSSClasses(path: string): string[]; getStringCSSClasses(path: string): string; getHTMLAttributes(path: string): any; setHTMLAttribute(path: any, attrKey: string, attrValue: any): void; /** * 远程获取配置 * @param successFn */ fetchThemeSettings(successFn?: (data: Layout.ThemeSettings) => void): void; updateThemeSettings(themeSettings: Layout.ThemeSettings, successFn?: (data: Layout.ThemeSettings) => void, errorFn?: (error: HttpErrorResponse) => Observable): void; onMouseOverSidebar(value: boolean): void; onClickMenuIcon(value: boolean): void; setMenuStatus(menuStatus: Layout.MenuStatus): void; } //# sourceMappingURL=layout.service.d.ts.map