import { default as React, ReactNode } from 'react'; import { Size, Theme, ThemeConfig } from '../../types'; interface ThemeContextValue { size?: Size; theme?: Theme; borderRadius?: string; borderColor?: string; borderWidth?: string; backgroundColor?: string; fontSize?: string; fontColor?: string; placeholderStyles?: { fontSize?: string; color?: string; fontStyle?: string; }; getThemeConfig: () => ThemeConfig; } interface ThemeProviderProps extends Partial { children: ReactNode; } /** * @deprecated Theme/dark-mode decisions should be driven by `--eui-*` CSS * variables and the `body.mode-dark` selector, not by React context. This * provider remains for backwards compatibility only and will be removed in a * future major release. New components should not consume `useTheme()`. */ export declare const ThemeProvider: React.FC; /** * @deprecated Use `--eui-*` CSS variables and `body.mode-dark` selectors * instead. This hook will be removed in a future major release. */ export declare const useTheme: () => ThemeContextValue; export {};