import { BreakpointType } from '../breakpoints/breakPoints'; import { ThemeType } from '../tokens'; import { ComponentTokenOverrides } from './ThemeContext'; import { Theme } from './theme.enum'; type ThemeProviderProps = { foundationTokens?: ThemeType; componentTokens?: ComponentTokenOverrides; breakpoints?: BreakpointType; theme?: Theme | string; children: React.ReactNode; /** * Target HTMLElement for styled-components to inject styles into. * Use this when rendering inside a Shadow DOM. * The element must be inside a shadow root. * * Note: This is the actual DOM element (not the ShadowRoot itself) that * styled-components will use as the style injection target. */ target?: HTMLElement; }; declare const ThemeProvider: ({ foundationTokens, componentTokens, breakpoints, theme, children, target, }: ThemeProviderProps) => import("react/jsx-runtime").JSX.Element; export default ThemeProvider;