import { PayloadAction } from '@reduxjs/toolkit';
import { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
import { UpdateQueryPayload } from './query-actions.js';
export type { UpdateQueryPayload };
/**
 * 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: UpdateQueryPayload): PayloadAction<UpdateQueryPayload>;
}
/**
 * Loads the commerce query reducer and returns possible query action creators.
 *
 * @param engine - The headless commerce engine.
 * @returns An object holding the query action creators.
 *
 * @group Actions
 * @category Query
 */
export declare function loadQueryActions(engine: CommerceEngine): QueryActionCreators;
