/** * Reactive `data-theme` reader. Returns `true` when the closest ancestor * (or ``) carries `data-theme="dark"`. * * `styles.css` binds Tailwind's `dark:` variant to that attribute, so HTML * elements can theme themselves with class strings alone. This hook is for * the cases that can't — Canvas paint code and SVG attributes that aren't * easily expressed as Tailwind utilities — so they can pick the right * colors and re-render when the theme flips. */ export declare function useDarkMode(): boolean; //# sourceMappingURL=use-dark-mode.d.ts.map