import type { JSX } from 'react'; import React from 'react'; export type DispatchType = (action: A) => void; export type ReducerType = (state: S, action: A) => S; type PropsType = { children?: React.ReactNode; initialState?: Partial; }; export declare function makeStore(initialState: S, reducer: ReducerType): [(props: PropsType) => JSX.Element, () => DispatchType, () => S]; export {};