import * as React from 'react'; import { Dispatch, Reducer, Action } from 'redux'; interface ControlledProps { state: State; dispatch: Dispatch; } export declare type ControllableProps = { reducer: Reducer; children: (state: State, dispatch: Dispatch) => false | JSX.Element | null; } & (ControlledProps | {}); export default class Controllable extends React.Component, State> { currentState: State; constructor(props: ControllableProps); dispatch(action: A): A; render(): false | JSX.Element | null; componentDidUpdate(): void; } export {};