// TypeScript Version: 3.0 import * as React from 'react'; export type Omit = Pick>; export interface InferableComponentEnhancerWithProps< TInjectedProps, TNeedsProps > {

( component: React.ComponentType

, ): React.ComponentType & TNeedsProps>; } export function mapProps( mapper: (input: TOuter) => TInner, ): InferableComponentEnhancerWithProps; export function withProps( objOrMapper: Partial | ((input: TOuter) => Partial), ): InferableComponentEnhancerWithProps;