import * as RN from 'react-native'; import EStyleSheet from 'react-native-extended-stylesheet'; export declare type Theme = { rem?: number; } & T; export declare type AnyStyle = T & { [key: string]: T & { [key: string]: T & string; }; }; export declare type StyleProp = RN.StyleProp & { [key: string]: RN.StyleProp; }; export declare type TestType = AnyStyle; export declare type ReactNativeStyle = ExtendedStyle | ExtendedStyle | ExtendedStyle; export declare type CustomClasses = ':first-child' | ':nth-child-even' | ':nth-child-odd' | ':last-child' | '@media web' | '@media ios' | '@media android' | '@media macos' | '@media windows'; export declare type MediaTypes = RN.PlatformOSType; export declare type CustomProperties = { $outline?: boolean; $scale?: number; }; export declare type ExtendedStyle = T | { [key in CustomClasses]: T | undefined; } | { [key: string]: T; } | { [key in keyof T]: string | number | string[]; }; export declare type ReactNativeStyleType = Props extends { style?: StyleProp; } ? StyleType extends ReactNativeStyle ? StyleType : ReactNativeStyle : ReactNativeStyle; export declare type ExtendedStylesheet = typeof EStyleSheet; export interface Stylesheet extends ExtendedStylesheet { sheets: Array>>; }