1 | import * as React from 'react';
|
2 | import { SupportedColorScheme } from './createThemeWithVars';
|
3 | declare const useColorScheme: () => import("@mui/system").ColorSchemeContextValue<SupportedColorScheme>, deprecatedGetInitColorSchemeScript: typeof import("@mui/system/InitColorSchemeScript").default;
|
4 | declare function Experimental_CssVarsProvider(props: any): React.JSX.Element;
|
5 | declare const getInitColorSchemeScript: typeof deprecatedGetInitColorSchemeScript;
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | export declare const CssVarsProvider: (props: React.PropsWithChildren<Partial<import("@mui/system").CssVarsProviderConfig<SupportedColorScheme>> & {
|
30 | theme?: {
|
31 | cssVariables?: false;
|
32 | cssVarPrefix?: string;
|
33 | colorSchemes: Partial<Record<SupportedColorScheme, any>>;
|
34 | colorSchemeSelector?: "media" | "class" | "data" | string;
|
35 | } | {
|
36 | $$material: {
|
37 | cssVariables?: false;
|
38 | cssVarPrefix?: string;
|
39 | colorSchemes: Partial<Record<SupportedColorScheme, any>>;
|
40 | colorSchemeSelector?: "media" | "class" | "data" | string;
|
41 | };
|
42 | } | undefined;
|
43 | defaultMode?: "light" | "dark" | "system";
|
44 | documentNode?: Document | null;
|
45 | colorSchemeNode?: Element | null;
|
46 | storageWindow?: Window | null;
|
47 | disableNestedContext?: boolean;
|
48 | disableStyleSheetGeneration?: boolean;
|
49 | }>) => React.JSX.Element;
|
50 | export { useColorScheme, getInitColorSchemeScript, Experimental_CssVarsProvider };
|