import { ComponentProps, ComponentType, ElementRef, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from 'react'; import { Dispatch, Select } from './store'; export interface ConnectedProps { dispatch: Dispatch; } export declare type ConnectedComponent> = ForwardRefExoticComponent, keyof TMappedProps | keyof ConnectedProps> & TOwnedProps> & RefAttributes>> & { WrappedComponent: C; }; export declare type Connector = & TMappedProps & ComponentProps>>(Component: C) => ConnectedComponent; export declare function connect(extractor?: (select: Select, ownedProps: TOwnedProps) => TMappedProps): Connector;