import type { RomaineState, HistoryAction } from ".";
/**
 * function to add the current state to the history
 *
 * This function only depends on state inside romaine and therefore is called with no input
 * @example PushHistory();
 */
export declare type PushHistory = () => void;
/**
 * function to clear the history on romaine
 * @example ClearHistory();
 */
export declare type ClearHistory = () => void;
/**
 *
 * @param state RomaineState
 * @param payload HistoryAction["payload"]
 * @todo
 * 1) reduce rotation to one command if previous history is also rotation
 */
export declare const history: (state: RomaineState, payload: HistoryAction["payload"]) => RomaineState;
//# sourceMappingURL=history.d.ts.map