import { type Computed, type PrimitiveSignal } from '@sigx/reactivity'; import type { ColorScheme } from './types.js'; type ColorSchemeRead = PrimitiveSignal | Computed; /** * BG-side reactive read of the current system color scheme. Returns the * live signal — components calling this re-render when the user flips dark * mode in system settings. * * If no `` is in scope, returns a fallback signal seeded * from `lynx.__globalProps` once at first call (still gives the correct * value on cold start; just doesn't update live). This lets ThemeProvider * use the hook even when its consumer hasn't mounted ``. */ export declare function useSystemColorScheme(): ColorSchemeRead; /** * MT-thread synchronous read of the current system color scheme. For use * inside `'main thread'`-marked worklet bodies. Reads `lynx.__globalProps` * directly — no subscription, callers re-evaluate per worklet invocation. * * Returns `'light'` when the publisher hasn't populated yet (cold start before * first publish, or non-Lynx hosts). */ export declare function useSystemColorSchemeMT(): ColorScheme; export type { PrimitiveSignal, Computed } from '@sigx/reactivity'; //# sourceMappingURL=hooks.d.ts.map