/** * Whether the document is in dark mode right now, and re-rendered when that * changes. * * The theme is a class on `` (`dark`, set by the panel's mode * controller) or a `data-theme` attribute (the marketing site). Components * that pick colours in JS rather than through CSS variables — `Chip` derives * its ink per theme — used to read the class once at render and never again, * so a theme switch left every chip on screen wearing the other theme's ink * until something else happened to re-render it. Subscribing through a * `MutationObserver` on the root's attributes makes the read live. */ export declare function useIsDarkMode(): boolean;