import * as React from 'react'; import { type DefaultTheme } from '@mui/private-theming'; export interface ThemeProviderProps { /** * Your component tree. */ children?: React.ReactNode; /** * The design system's unique id for getting the corresponded theme when there are multiple design systems. */ themeId?: string | undefined; /** * A theme object. You can provide a function to extend the outer theme. */ theme: Partial | ((outerTheme: Theme) => Theme); } /** * This component makes the `theme` available down the React tree. * It should preferably be used at **the root of your component tree**. * * // existing use case * // theme scoping */ declare function ThemeProvider(props: ThemeProviderProps): React.ReactElement>; declare namespace ThemeProvider { var propTypes: any; } export default ThemeProvider;