import React from 'react'; import { AnyComponent, ExecutionProps } from '../types'; import { NonReactStatics } from '../utils/hoist'; type WithThemeOuterProps = Omit, keyof ExecutionProps> & ExecutionProps; /** Higher-order component that injects the current theme as a prop. Prefer `useTheme` in function components. */ export default function withTheme(Component: T): React.ForwardRefExoticComponent> & React.RefAttributes> & NonReactStatics; export {};