1 | import { NbJSThemeOptions } from './js-themes/theme.options';
|
2 | import * as i0 from "@angular/core";
|
3 | export declare const BUILT_IN_THEMES: NbJSThemeOptions[];
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare class NbJSThemesRegistry {
|
9 | private themes;
|
10 | constructor(builtInThemes: NbJSThemeOptions[], newThemes?: NbJSThemeOptions[]);
|
11 | /**
|
12 | * Registers a new JS theme
|
13 | * @param config any
|
14 | * @param themeName string
|
15 | * @param baseTheme string
|
16 | */
|
17 | register(config: any, themeName: string, baseTheme: string): void;
|
18 | /**
|
19 | * Checks whether the theme is registered
|
20 | * @param themeName
|
21 | * @returns boolean
|
22 | */
|
23 | has(themeName: string): boolean;
|
24 | /**
|
25 | * Return a theme
|
26 | * @param themeName
|
27 | * @returns NbJSThemeOptions
|
28 | */
|
29 | get(themeName: string): NbJSThemeOptions;
|
30 | private combineByNames;
|
31 | private isObject;
|
32 | private mergeDeep;
|
33 | static ɵfac: i0.ɵɵFactoryDeclaration<NbJSThemesRegistry, never>;
|
34 | static ɵprov: i0.ɵɵInjectableDeclaration<NbJSThemesRegistry>;
|
35 | }
|