import type { ReactNode } from 'react'; declare const Themes: { readonly Light: "light"; readonly Dark: "dark"; }; type Theme = (typeof Themes)[keyof typeof Themes]; type ThemeConfig = { attrName?: string; defaultMode?: Theme; htmlElt?: HTMLElement; }; declare const ThemeProvider: import("react").MemoExoticComponent<({ children, ...config }: ThemeConfig & { children: ReactNode; }) => import("react/jsx-runtime").JSX.Element>; declare const useTheme: () => { theme: string; setTheme: (theme: Theme) => void; }; export { ThemeProvider, Themes, useTheme }; export type { Theme };