import { Context, FunctionComponent } from 'react'; import ReducerSystem from './ReducerSystem'; /** * Create the reducer cache. This will create both hook context and hook cache provider. * * @param globalLoad - Indicate that the objects are loaded globally. * @returns The provider and context for the hook cache. */ export declare function createHookCache(globalLoad: true): [FunctionComponent, Context | undefined> | undefined>]; /** * Create the reducer cache. This will create both hook context and hook cache provider. * * @param globalLoad - Indicate that the objects are loaded one at a time. * @returns The provider and context for the hook cache. */ export declare function createHookCache(globalLoad?: false): [FunctionComponent, Context; }> | undefined>];