1 | export declare class SharedStylesHost {
|
2 | _styles: string[];
|
3 | _stylesSet: Set<string>;
|
4 | constructor();
|
5 | addStyles(styles: string[]): void;
|
6 | onStylesAdded(_additions: string[]): void;
|
7 | getAllStyles(): string[];
|
8 | }
|
9 | export declare class NodeSharedStylesHost extends SharedStylesHost {
|
10 | _hostNodes: Set<Node>;
|
11 | constructor();
|
12 | addHost(hostNode: Node): void;
|
13 | removeHost(hostNode: Node): void;
|
14 | onStylesAdded(additions: string[]): void;
|
15 | private _addStylesToHost(styles, host);
|
16 | }
|