import { createContext } from 'react'; type Theme = 'dark' | 'light' | 'system'; interface ThemeContextType { theme: Theme; setTheme: (theme: Theme) => void; resolvedTheme: 'dark' | 'light'; } const ThemeContext = createContext(undefined); export { ThemeContext }; export type { Theme, ThemeContextType };