import type { ComponentType, HTMLProps, ReactNode } from 'react'; interface ShadowRootProps { mode?: 'closed' | 'open'; delegatesFocus?: boolean; styleSheets?: CSSStyleSheet[]; ssr?: boolean; children?: ReactNode; } type Root = Record & ShadowRootProps>>; type RenderFn = ({ children, ssr, root, }: { children: ReactNode; ssr: boolean; root: ShadowRoot | null; }) => ReactNode; export type { RenderFn, Root, ShadowRootProps, };