import type { ImageStyle, TextStyle, ViewStyle } from 'react-native'; declare global { namespace ReactNativeSimpleTheme { interface ThemePalette { } } } declare type StringPathImpl = K extends string ? T[K] extends Record ? T[K] extends ArrayLike ? K | `${K}.${StringPathImpl>}` : K | `${K}.${StringPathImpl}` : K : never; declare type StringPath = StringPathImpl | keyof T; export declare type ThemeName = keyof ReactNativeSimpleTheme.ThemePalette; export declare type ThemeValues = { [key in ThemeName]: T; }; export declare type ThemeContextValue = { themes: ReactNativeSimpleTheme.ThemePalette; getThemeName?: () => ThemeName; }; export declare type NamedStyles = { [P in keyof T]: ViewStyle | TextStyle | ImageStyle; }; export declare type CreateThemedStyleFunc = (factory: (palette: ReactNativeSimpleTheme.ThemePalette[ThemeName]) => NamedStyles) => typeof factory; export declare type ThemePaths = StringPath; export {};