UNPKG

538 BTypeScriptView Raw
1/// <reference types="node" />
2import React from 'react';
3import type * as streamInternal from 'stream';
4import { Readable } from 'stream';
5import StyleSheet from '../sheet';
6export default class ServerStyleSheet {
7 instance: StyleSheet;
8 sealed: boolean;
9 constructor();
10 _emitSheetCSS: () => string;
11 collectStyles(children: any): JSX.Element;
12 getStyleTags: () => string;
13 getStyleElement: () => React.JSX.Element[];
14 interleaveWithNodeStream(input: Readable): streamInternal.Transform;
15 seal: () => void;
16}