import { ThemeVars } from './ThemeBuilder'; import { ImageStyle, TextStyle, ViewStyle } from 'react-native'; export declare type Style = ViewStyle | TextStyle | ImageStyle; export declare type NamedStyles = { [P in keyof T]: Style; }; export declare type ThemeCallback = (theme: ThemeVars) => T; export default class ThemeStyleSheet { static create>(callback: ThemeCallback): T; }