import { ColorScheme, ColorSchemeOrSystem } from "../useColorScheme"; import { InternalProps, StyledComponentProps, OmitInternalProps } from "../../../shared"; import { ComponentProps, ReactNode } from "react"; import { OrbitTheme } from "./orbitTheme"; declare const DefaultElement = "div"; export interface InnerThemeProviderProps extends InternalProps, StyledComponentProps { /** * React children */ children: ReactNode; /** * The color scheme to use. */ colorScheme: ColorSchemeOrSystem; /** * Default color scheme to use when a user preferred color scheme (system) is not available. */ defaultColorScheme?: ColorScheme; /** * The theme to use. */ theme: OrbitTheme; } export declare function InnerThemeProvider({ as, children, colorScheme, defaultColorScheme, theme, forwardedRef, ...rest }: InnerThemeProviderProps): JSX.Element; export declare namespace InnerThemeProvider { var defaultElement: string; } /** * Container used to define the theme and color scheme to use. * * [Documentation](https://orbit.sharegate.design/?path=/docs/theme-provider--page) */ export declare const ThemeProvider: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; export declare type ThemeProviderProps = ComponentProps; export {};