import type { AsyncThunkAction } from '@reduxjs/toolkit'; import type { SearchEngine } from '../../app/search-engine/search-engine.js'; /** * The history action creators. * * @group Actions * @category History */ export interface HistoryActionCreators { /** * Moves backward in the interface history. * * @returns A dispatchable action. */ back(): AsyncThunkAction; /** * Moves forward in the interface history. * * @returns A dispatchable action. */ forward(): AsyncThunkAction; } /** * Loads the `history` reducer and returns possible action creators. * * @param engine - The headless engine. * @returns An object holding the action creators. * * @group Actions * @category History */ export declare function loadHistoryActions(engine: SearchEngine): HistoryActionCreators;