/**
 * Theme module exports for @rangojs/router/theme
 *
 * This module provides theme management for rsc-router:
 * - useTheme: Hook for accessing theme state in client components
 * - ThemeProvider: Component for manual theme provider setup (typically not needed)
 * - Types for theme configuration
 *
 * @example
 * ```tsx
 * // In a client component
 * import { useTheme } from "@rangojs/router/theme";
 *
 * function ThemeToggle() {
 *   const { theme, setTheme, themes } = useTheme();
 *   return (
 *     <select value={theme} onChange={e => setTheme(e.target.value)}>
 *       {themes.map(t => <option key={t}>{t}</option>)}
 *     </select>
 *   );
 * }
 * ```
 */
export { useTheme } from "./use-theme.js";
export { ThemeProvider } from "./ThemeProvider.js";
export { ThemeScript, type ThemeScriptProps } from "./ThemeScript.js";
export type { Theme, ResolvedTheme, ThemeAttribute, ThemeConfig, ResolvedThemeConfig, UseThemeReturn, ThemeProviderProps, ThemeContextValue, } from "./types.js";
export { THEME_DEFAULTS, THEME_COOKIE, resolveThemeConfig } from "./constants.js";
export { generateThemeScript, getNonceAttribute } from "./theme-script.js";
export { ThemeContext, useThemeContext, initThemeConfigSync, getSSRThemeConfig, } from "./theme-context.js";
//# sourceMappingURL=index.d.ts.map