import type { Entities, Ref, Subtree } from '../../types'; import type { AppActions } from './types'; export declare enum GlobalActionTypes { STATE_SYNC = "GLOBAL.STATE_SYNC", BATCHED_ACTIONS = "BATCHING_REDUCER.BATCH", ADD_ENTITY = "GLOBAL.ADD_ENTITY", REPLACE = "GLOBAL.REPLACE", DELETE = "GLOBAL.DELETE" } export declare type GlobalActions = { type: GlobalActionTypes.STATE_SYNC; payload: Subtree | undefined; } | { type: GlobalActionTypes.BATCHED_ACTIONS; payload: AppActions[]; meta: { batch: true; }; } | { type: GlobalActionTypes.ADD_ENTITY; payload: { entity: Entities; ref?: Ref; index?: number; }; } | { type: GlobalActionTypes.REPLACE; payload: { entity: Entities; ref: Ref; oldEntityId: string; }; } | { type: GlobalActionTypes.DELETE; payload: { entityId: string; }; };