import * as React from 'react'; import { EmotionCache, Options as OptionsOfCreateCache } from '@emotion/cache'; export type AppRouterCacheProviderProps = { /** * These are the options passed to createCache() from 'import createCache from "@emotion/cache"'. */ options?: (Partial & { /** * If `true`, the generated styles are wrapped within `@layer mui`. * This is useful if you want to override the Material UI's generated styles with different styling solution, like Tailwind CSS, plain CSS etc. */ enableCssLayer?: boolean | undefined; }) | undefined; /** * By default from 'import { CacheProvider } from "@emotion/react"'. */ CacheProvider?: React.ElementType<{ value: EmotionCache; }> | undefined; children: React.ReactNode; }; /** * Emotion works OK without this provider but it's recommended to use this provider to improve performance. * Without it, Emotion will generate a new