import * as React from 'react'; import { DefaultStoreState, Props, StateProps, DispatchProps, UIStateBranchSelector } from './utils'; export interface __IMPORT_FIX { UIStateBranchSelector: UIStateBranchSelector<{}>; StateProps: StateProps<{}>; DispatchProps: DispatchProps<{}>; } /** * The props for UIState component with a generic for the values accepted by the render prop */ export interface UIStateComponentProps { children: (props: TProps) => React.ReactElement | null; } /** * A function that maps StateProps & DispatchProps into the shape required by the render * prop function */ export declare type MapCreateUIStateProps = (props: Props) => TMappedProps; /** * A render prop component factory responsible for injecting Redux UI State props into a render prop * component * @param uiStateBranchSelector A selector that selects the top level ui state branch from the * redux store with default if no argument is passed. */ export declare const setupCreateUIState: (uiStateBranchSelector?: UIStateBranchSelector) => >(id: string, mapProps?: MapCreateUIStateProps | undefined) => React.ComponentClass> & { WrappedComponent: React.StatelessComponent<(UIStateComponentProps & TMappedProps) | (UIStateComponentProps & { setUIState: (state: Partial) => void; uiState: TUIState; })>; };