import { type ColorPreference, type Mode, type Theme } from '../theme/index.js'; /** The mode a preference shows now, following the device while it's `system`. */ export declare function useColorMode(preference: ColorPreference): Mode; /** * Applies a theme's scheme for a mode to an element, the document root by * default, again whenever the theme changes: as a person edits it, the whole * app previews it. It also sets the element's `color-scheme`, which native * controls and `light-dark()` follow. */ export declare function useApplyTheme(theme: Theme, mode: Mode, element?: HTMLElement | null): void;