import * as React from 'react';
import { Observable } from '@stated-library/interface';
declare function link<State>(component: React.Component<any, State>, state$: Observable<State>): {
    connect: () => void;
    disconnect: () => void;
};
export default link;
export { link };
