import React from 'react'; import type { ColorScheme } from '@coinbase/cds-common/core/theme'; import type { Theme, ThemeConfig } from '../core/theme'; export type ThemeContextValue = Theme; export declare const ThemeContext: React.Context; /** * Diff two themes and return a new partial theme with only the differences. */ export declare const diffThemes: (theme: Theme, parentTheme?: Theme) => Partial; export type ThemeProviderProps = { theme: ThemeConfig; activeColorScheme: ColorScheme; children?: React.ReactNode; }; export declare const ThemeProvider: React.MemoExoticComponent< ({ theme, activeColorScheme, children, }: ThemeProviderProps) => import('react/jsx-runtime').JSX.Element >; export type InvertedThemeProviderProps = { children?: React.ReactNode; }; /** Falls back to the currently active colorScheme if the inverse colors are not defined in the theme. */ export declare const InvertedThemeProvider: React.MemoExoticComponent< ({ children }: InvertedThemeProviderProps) => import('react/jsx-runtime').JSX.Element >; //# sourceMappingURL=ThemeProvider.d.ts.map