import * as React from 'react'; import type { DefaultTheme } from "../defaultTheme/index.mjs"; export interface ThemeProviderProps { children?: React.ReactNode; theme: Partial | ((outerTheme: Theme) => Theme); } /** * This component takes a `theme` prop. * It makes the `theme` available down the React tree thanks to React context. * This component should preferably be used at **the root of your component tree**. */ declare function ThemeProvider(props: ThemeProviderProps): React.ReactElement>; export default ThemeProvider;