amis-rpc-design/node_modules/styled-components/native/dist/models/ServerStyleSheet.d.ts

17 lines
538 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
/// <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;
}