import type { ColorScheme } from './types.js'; /** * Key under `lynx.__globalProps` where the native publisher writes the * appearance map. Single string shared by iOS / Android publishers, the JS * reader, and tests. */ export declare const GLOBAL_PROPS_KEY = "appearance"; export interface RawAppearanceProps { colorScheme?: ColorScheme; } /** * Synchronously read the current system color scheme from * `lynx.__globalProps`. Returns `null` when the publisher hasn't populated * yet (early cold start) or when running outside a Lynx host (web preview, * SSR, tests). Callers should treat `null` as "unknown — fall back to your * default theme". * * Safe on both BG and MT threads — `__globalProps` is mirrored across both. */ export declare function readGlobalColorScheme(): ColorScheme | null; //# sourceMappingURL=globals.d.ts.map