import { ReactNode } from 'react'; type ShadowRootContextType = { shadowRoot: ShadowRoot | null; target: HTMLElement | null; }; export declare const useShadowRoot: () => ShadowRootContextType; type ShadowAwareProps = { children: ReactNode; /** * Target HTMLElement for styled-components to inject styles into. * This should be an element inside a ShadowRoot. */ target: HTMLElement; }; declare const ShadowAware: ({ children, target }: ShadowAwareProps) => import("react/jsx-runtime").JSX.Element; export default ShadowAware;