import { ElementRef, OnDestroy } from '@angular/core'; import { Subject } from 'rxjs/Subject'; export declare type GhThemeVariant = 'light' | 'dark' | null; export declare function getGhThemeNotValidError(name: string): Error; export declare class GhTheme implements OnDestroy { private _elementRef; private _parentTheme; /** * Theme name and the variant. * could be: * - royalblue * - royalblue:light * - royalblue:dark * - :light * - :dark */ ghTheme: string; /** Name of the specified theme (royalblue, ...) */ readonly name: string | null; /** Whether the theme is the light or dark variant */ readonly variant: GhThemeVariant; /** @internal The level of depth */ readonly _depthLevel: number; /** @internal Emits on state change */ readonly _stateChanges: Subject; private _name; private _variant; private _parentSub; constructor(_elementRef: ElementRef, _parentTheme: GhTheme); ngOnDestroy(): void; /** Generates the theme class names for the currently defined name and variant */ private _genClassNames(); /** Replaces classes on the host element */ private _replaceHostClasses(newClasses?, oldClasses?); /** Notify developers if max depth level has been exceeded */ private _warnIfDepthExceeded(); }