import React from 'react'; export interface AnyObject { [restProps: string]: any; } export interface ThemeProps { theme: AnnaNative.Theme; } declare type WithThemeComponentType = React.FC & { [restProps: string]: any; }; declare function withTheme(Component: React.ComponentType): WithThemeComponentType>; export default withTheme;