import { LaunchActions, ServiceActionContext, ServiceActions } from "../types";
interface HistoryAction {
    serviceName: string;
    actionName: string;
    payload: any;
}
interface HistoryAddActionContext {
    newState: any;
    action: HistoryAction;
    timeTravelActionContext: HistoryTimeTravelActionContext;
    timeTravelHistoryLimit: number;
}
interface HistoryTimeTravelActionContext {
    serviceActions: ServiceActions;
    boundActions: LaunchActions;
}
interface HistoryState {
    initialGlobalState: any;
    past: HistoryAction[];
    future: HistoryAction[];
}
declare const _default: {
    name: string;
    initialState: HistoryState;
    actions: {
        stepBack: ({ state }: ServiceActionContext, { serviceActions, boundActions }: HistoryTimeTravelActionContext) => any;
        stepForward: ({ state }: ServiceActionContext, { serviceActions, boundActions }: HistoryTimeTravelActionContext) => any;
        add: ({ state }: ServiceActionContext, newAction: HistoryAddActionContext) => HistoryState;
    };
};
export default _default;
