/*! * ======================================================================== * @rzl-zone/next-kit * ------------------------------------------------------------------------ * Version: `0.10.4` * Author: `Rizalvin Dwiky ` * Repository: `https://github.com/rzl-zone/rzl-zone/tree/main/packages/next-kit` * ======================================================================== */ import { a as defaultThemes, i as ThemeOverrideConfig, n as ThemeCtx, r as ThemeMode, t as RzlThemeProviderProps } from "../index-jt6QqlNa.js"; /** ------------------------------------------------------------ * * ***React hook for accessing the theme context (`App Router` or `Pages Router`).*** * ------------------------------------------------------------ * **Provides information about the currently active theme and utilities for * switching themes, including system-level theme support.** * * ⚠️ ***Must be used within the React component tree wrapped by `` (`App Router`) or `` (`Pages Router`).*** * * @throws If called outside the provider hierarchy (i.e., not a descendant of **``** or **``** in the React tree). * @returns {ThemeCtx} Object containing current theme data and setter. */ declare const useTheme: () => ThemeCtx; declare const ThemeContext: import("react").Context; export { type RzlThemeProviderProps, ThemeContext, type ThemeCtx, type ThemeMode, type ThemeOverrideConfig, defaultThemes, useTheme };