1 |
|
2 |
|
3 | import { EmotionCache } from "./@emotion-cache-node_modules-@emotion-utils-types-index";
|
4 | export { EmotionCache };
|
5 | export interface StylisElement {
|
6 | type: string;
|
7 | value: string;
|
8 | props: Array<string> | string;
|
9 | root: StylisElement | null;
|
10 | parent: StylisElement | null;
|
11 | children: Array<StylisElement> | string;
|
12 | line: number;
|
13 | column: number;
|
14 | length: number;
|
15 | return: string;
|
16 | }
|
17 | export type StylisPluginCallback = (element: StylisElement, index: number, children: Array<StylisElement>, callback: StylisPluginCallback) => string | void;
|
18 | export type StylisPlugin = (element: StylisElement, index: number, children: Array<StylisElement>, callback: StylisPluginCallback) => string | void;
|
19 | export interface Options {
|
20 | nonce?: string;
|
21 | stylisPlugins?: Array<StylisPlugin>;
|
22 | key: string;
|
23 | container?: HTMLElement;
|
24 | speedy?: boolean;
|
25 |
|
26 | prepend?: boolean;
|
27 | insertionPoint?: HTMLElement;
|
28 | }
|
29 | export default function createCache(options: Options): EmotionCache; |
\ | No newline at end of file |