import React from 'react'; import { Configs } from '../Configs'; import { ColorSchemeName } from '../hooks'; import { ThemeInput } from './Theme'; /** * Props of the `ThemeProvider` component. */ export interface ThemeProviderProps { /** * Key of the theme to use for children components. If this prop is not set, * the globally selected theme is used. */ theme?: Configs['theme']; /** * Theme mode */ mode?: ColorSchemeName; /** * Any custom overrides to the selected theme. */ overrides: ThemeInput; children: React.ReactNode; } /** * 🎨 ThemeProvider */ export declare const ThemeProvider: { (props: ThemeProviderProps): React.JSX.Element; displayName: string; defaultProps: { overrides: {}; }; };