import React from 'react'; type Theme = 'light' | 'dark'; interface ProviderProps { children: React.ReactNode; context?: HTMLElement; initialTheme?: Theme; } interface State { theme: Theme; } interface Methods { toggleTheme: () => void; } declare const ThemeContext: React.Context; declare const ThemeProvider: ({ children, context, initialTheme }: ProviderProps) => React.JSX.Element; declare function useThemeContext(): State & Methods; export { ThemeContext, ThemeProvider, useThemeContext };