import { type Theme } from '../theme.js'; /** * Subscribes to the module-scoped active theme so a render reads the * current `theme` snapshot. Used by the App shell to force a re-render * when `setActiveTheme()` mutates the global theme — child components * read `theme` directly via destructuring, so the parent re-render * propagates the new palette into the whole tree. * * The hook itself returns the live `theme` reference; callers don't * typically need to use it (they can keep reading `theme` directly), * but exposing it lets test code and stat panels introspect the active * palette without re-implementing the listener. */ export declare function useActiveTheme(): Theme; //# sourceMappingURL=use-active-theme.d.ts.map