import { ComponentClass, ComponentType } from 'react';
import { Observable, SchedulerLike } from 'rxjs';
export declare type Observify
= {
readonly [K in keyof P]: Observable
;
};
export declare type WithRXSelectorResult
> = {
props?: Partial>;
defaultProps?: D;
effects$?: Observable;
};
export declare type WithRXOptions = {
scheduler?: SchedulerLike;
};
/**
* curried for better type inference
* @see https://github.com/Microsoft/TypeScript/issues/15005#issuecomment-430588884
*/
export declare const withRX: (Target: ComponentType
) => >(selector: (props$: Observable>) => WithRXSelectorResult, options?: WithRXOptions) => ComponentClass> & Partial, any>;