17 lines
538 B
TypeScript
17 lines
538 B
TypeScript
/// <reference types="node" />
|
|
import React from 'react';
|
|
import type * as streamInternal from 'stream';
|
|
import { Readable } from 'stream';
|
|
import StyleSheet from '../sheet';
|
|
export default class ServerStyleSheet {
|
|
instance: StyleSheet;
|
|
sealed: boolean;
|
|
constructor();
|
|
_emitSheetCSS: () => string;
|
|
collectStyles(children: any): JSX.Element;
|
|
getStyleTags: () => string;
|
|
getStyleElement: () => React.JSX.Element[];
|
|
interleaveWithNodeStream(input: Readable): streamInternal.Transform;
|
|
seal: () => void;
|
|
}
|