import type { PendingAction } from "../actions"; import type { State } from "../reducers"; import { INTERNAL_KEY } from "../constants"; export declare type InternalStateKey = typeof INTERNAL_KEY; export declare class InternalState implements State { static Key: InternalStateKey; /** * Deserialize * * @param o * @returns {InternalState&U&{pendingActions: (Map|Map|any)}} */ static fromJS(o?: any): InternalState & { pendingActions: any; }; /** * Create a new internal state */ constructor(o?: any); type: InternalStateKey; /** * All pending actions */ pendingActions: { [id: string]: PendingAction; }; /** * Total actions executed */ totalActionCount: number; /** * Pending action count */ pendingActionCount: number; /** * Has pending actions currently ? */ hasPendingActions: boolean; /** * Returns empty object - can not be serialized */ toJS(): this; }