/** * Created by nghinv on Mon Jun 07 2021 * Copyright (c) 2021 nghinv@lumi.biz */ import type React from 'react'; import type { TextStyle } from 'react-native'; import type { LightTheme } from './LightTheme'; export declare type ThemeMode = 'default' | 'light' | 'dark'; export declare type ThemeType = typeof LightTheme; export declare type ThemesType = Record<'light' | 'dark' | string, ThemeType>; export declare type ThemeContextType = { themeMode: ThemeMode; themes: ThemesType; setThemeMode: (value: ThemeMode) => void; }; export declare type ThemeProviderPropsType = { children: React.ReactNode; themeMode?: ThemeMode; themes?: ThemesType; systemTheme?: boolean; }; export declare type FontWeightType = Record<'thin' | 'light' | 'regular' | 'medium' | 'bold' | 'heavy' | 'black', TextStyle['fontWeight']>; export declare type TextType = 'h0' | 'h1' | 'h2' | 'p0' | 'p1' | 'p2' | 'p3'; export declare type TextStylesType = Record<'h0' | 'h1' | 'h2' | 'p0' | 'p1' | 'p2' | 'p3', TextStyle>;