import * as React from 'react';
import { Store, StoreDefinition } from '../';
import { Diff } from '../utils';
/**
 * @deprecated Use `createConnectedStore` instead.
 */
export declare function connect<StoreState extends object>(store: StoreDefinition<StoreState>): <Props, PropsWithStore extends {
    store: Store<StoreState>;
} & Props = {
    store: Store<StoreState>;
} & Props>(Component: React.ComponentType<PropsWithStore>) => React.ComponentClass<Diff<PropsWithStore, {
    store: Store<StoreState>;
}>>;
