import { FunctionComponent } from 'react'; import './style/colors.module.css'; import './style/theme-dark.module.css'; import './style/theme-light.module.css'; import './style/variables.module.css'; type Theme = (typeof themes)[keyof typeof themes]; type ThemeStyle = Exclude; type ThemeContextProps = { theme: ThemeStyle; themeSetting: Theme; setTheme: (theme: Theme) => void; }; type ThemeProviderProps = { children: React.ReactNode; forcedTheme?: Theme; }; declare const themes: { readonly DARK: "dark"; readonly LIGHT: "light"; readonly SYSTEM: "system"; }; declare const ThemeProvider: FunctionComponent; declare const useTheme: () => ThemeContextProps; export type { Theme }; export { ThemeProvider, useTheme, themes };