import { type FunkitTheme } from './toRestyleTheme'; import { type SystemColorScheme } from './useColorScheme'; /** * A light/dark Restyle theme set. **At least one mode must be provided**; a * missing mode falls back to the one that is set. Only Restyle themes (produced * by `toRestyleTheme`) are accepted — raw token objects are not, so callers * can't accidentally pass a half-built theme. */ export type FunkitThemeSet = { light: FunkitTheme; dark?: FunkitTheme; } | { light?: FunkitTheme; dark: FunkitTheme; }; /** * Pick the Restyle theme for a color scheme, falling back to the other mode * when the requested one isn't in the set. The `FunkitThemeSet` union * guarantees at least one mode is present. */ export declare function selectTheme(themeSet: FunkitThemeSet, scheme: SystemColorScheme): FunkitTheme; /** * Resolves the active Restyle theme from the live system color scheme, to hand * to Restyle's `ThemeProvider`. Pass a custom theme set to override the * built-in Fun Mobile themes. Falls back to light when the system scheme is * unknown. */ export declare function useFunkitTheme(themeSet?: FunkitThemeSet): FunkitTheme; //# sourceMappingURL=useFunkitTheme.d.ts.map