import type { StyleSheet } from '@emotion/sheet' export type { StyleSheet } export type RegisteredCache = Record export type SerializedStyles = { name: string styles: string next?: SerializedStyles } export type EmotionCache = { inserted: Record registered: RegisteredCache sheet: StyleSheet key: string compat?: true nonce?: string insert: ( selector: string, serialized: SerializedStyles, sheet: StyleSheet, shouldCache: boolean ) => string | void }