import React, { PropsWithChildren } from 'react'; import { State } from 'router5'; import { IAdvancedStore } from '../../types'; import { StoreInjectConfig } from './types'; declare type PropsType = PropsWithChildren<{ toState?: State; fromState?: State; store?: IAdvancedStore; storeInjectConfig?: StoreInjectConfig; withoutRemovingReducers?: boolean; }>; declare type StateType = { reduxStore: IAdvancedStore; ableToReplace: boolean; }; export declare class ReduxStoreLoader extends React.Component { static contextType: React.Context>; contextStore: IAdvancedStore; constructor(props: PropsType, context: any); static getDerivedStateFromProps(props: PropsType, state: any): { ableToReplace: boolean; } | { ableToReplace?: undefined; }; componentDidMount(): void; componentDidUpdate(): void; render(): React.ReactNode; } export {};