import React from 'react'; import { Theme } from '../css/types'; import { ThemeMode } from '../hooks/useThemeSwitch'; export { defaultTheme } from '../hooks/useThemeSwitch'; export type { Theme }; interface ThemeContextType { theme: Theme; mode: ThemeMode; switchTheme: (newMode: ThemeMode, theme?: Theme) => void; setCustomTheme: (theme: Theme | null) => void; } export interface ThemeProviderProps { children: React.ReactNode; theme?: Theme; mode?: ThemeMode; lazyOptimize?: boolean; } export declare const ThemeProvider: React.FC; export declare const useTheme: () => ThemeContextType;