import { PayloadAction } from '@reduxjs/toolkit';
import { SearchEngine } from '../../app/search-engine/search-engine.js';
import { RegisterRecentQueriesCreatorPayload } from './recent-queries-actions.js';
/**
 * The RecentQueries action creators.
 *
 * @group Actions
 * @category RecentQueries
 */
export interface RecentQueriesActionCreators {
    /**
     * Initializes the `recentQueries` state.
     * @param payload (RegisterRecentQueriesCreatorPayload) The initial state and options.
     * @returns A dispatchable action.
     */
    registerRecentQueries(payload: RegisterRecentQueriesCreatorPayload): PayloadAction<RegisterRecentQueriesCreatorPayload>;
    /**
     * Clears the recent queries list.
     * @returns A dispatchable action.
     */
    clearRecentQueries(): PayloadAction;
}
/**
 * Loads the `recentQueries` reducer and returns possible action creators.
 *
 * @param engine - The headless engine.
 * @returns An object holding the action creators.
 *
 * @group Actions
 * @category RecentQueries
 */
export declare function loadRecentQueriesActions(engine: SearchEngine): RecentQueriesActionCreators;
