import { PayloadAction } from '@reduxjs/toolkit';
import { SearchEngine } from '../../app/search-engine/search-engine.js';
import { UpdateQueryActionCreatorPayload } from './query-actions.js';
export type { UpdateQueryActionCreatorPayload };
/**
 * The query action creators.
 *
 * @group Actions
 * @category Query
 */
export interface QueryActionCreators {
    /**
     * Updates the basic query expression.
     *
     * @param payload - The action creator payload.
     * @returns A dispatchable action.
     */
    updateQuery(payload: UpdateQueryActionCreatorPayload): PayloadAction<UpdateQueryActionCreatorPayload>;
}
/**
 * Loads the `query` reducer and returns possible action creators.
 *
 * @param engine - The headless engine.
 * @returns An object holding the action creators.
 *
 * @group Actions
 * @category Query
 */
export declare function loadQueryActions(engine: SearchEngine): QueryActionCreators;
