import React, { ReactNode, HTMLAttributes } from "react"; export interface ShadowDOMProps extends HTMLAttributes { children: ReactNode; styles?: { [key: string]: string; }; styleUrls?: string[]; currentTheme?: string; mode?: "open" | "closed"; onShadowRootCreate?: (root: ShadowRoot) => void; onShadowRootRemove?: (root: ShadowRoot) => void; scripts?: string[]; scriptDefer?: boolean; } declare const ShadowDOM: React.FC; export { ShadowDOM };