import { EffectState } from '../useEffect'; import { MemoState } from '../useMemo'; import { ReducerState } from '../useReducer'; import { RefState } from '../useRef'; import { ActiveHook } from './OuterHookState'; export interface HookState { reducer?: ReducerState; effect?: EffectState; memo?: MemoState; ref?: RefState; } export declare const HookStates: WeakMap, HookState[]>; export declare type InitHookStateFn = (currentHook: ActiveHook, currentIndex: number) => HookState[Type]; export declare function useInternalStatefulHook(type: Type, initFn: InitHookStateFn): NonNullable;