import { AnyAction } from '@dineug/r-html';
import { History } from './history';
import { RootState } from './state';
import { Store } from './store';
export type PushUndoHistory = (undoActions: AnyAction[], action: AnyAction, state: RootState) => void;
export type PushStreamHistory = (undoActions: AnyAction[], redoActions: AnyAction[], actions: AnyAction[]) => void;
export declare const pushUndoHistoryMap: Record;
export declare const pushStreamHistoryMap: Record;
export declare const pushHistory: (store: Store, history: History) => (actions: AnyAction[]) => void;