import React from 'react'; import type { CommonComponentProps } from '../types'; type Themes = 'researcher' | 'bandit' | string; type ColorSchemes = 'light' | 'dark' | 'dark-close' | 'dark-coachmark' | 'dark-dscout' | 'dark-success' | 'dark-test' | string; interface ThemeProviderProps extends CommonComponentProps { /** Apply the color scheme's background color. */ applyBackgroundColor?: boolean; /** Apply the color scheme's text color. */ applyColor?: boolean; /** The root DOM element type to render. */ as?: React.ElementType; children?: React.ReactNode; /** Additional class name(s) to apply. */ className?: string; /** **Experimental**: Name of the color scheme to apply. */ colorScheme?: ColorSchemes; /** Name of the theme to apply. */ theme?: Themes; /** * Set the theme class on the `
` instead of the DOM element rendered by * this component. Use this on the top-level `I'm in the {theme} theme with the {colorScheme} color scheme!
* ); * } * ``` */ export declare function ThemeProvider({ applyBackgroundColor, applyColor, as: ElementToRenderAs, children, className, colorScheme: specifiedColorScheme, theme: specifiedTheme, global, ...props }: ThemeProviderProps): React.JSX.Element; export {};