amis-rpc-design/node_modules/styled-components/dist/models/ServerStyleSheet.d.ts
2023-10-07 19:42:30 +08:00

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;
}