import { OnDestroy } from "@angular/core"; import { Observable } from 'rxjs'; export declare class TemplatingService implements OnDestroy { /** Name of the active theme */ private themeName; /** Observable to subscribe to theme changes */ private theme$; /** Unsubscriber from all streams on destroy */ private unsubscriber$; constructor(); /** Destroy service and his streams */ ngOnDestroy(): void; /** Get the actually active theming name */ getActiveThemeName(): string; /** Returns stored active theme as stream to get subscribed */ getObservable(): Observable; /** * Change page active theming template * @param element * @throws Error on template not found */ setActiveTheme(themes: any, themeName: string): void; /** * Activate actual selected theme color variables for a given html element * @param element Native element to store theme color variables */ setElementTemplate(element: HTMLElement): void; /** * Set host variables for a particular component * @param element */ setComponentTemplate(template: any, element: HTMLElement): void; }