import type { PayloadAction } from '@reduxjs/toolkit';
import type { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
import type { ApplyQueryTriggerModificationPayload } from '../../triggers/triggers-actions.js';
import { type UpdateIgnoreQueryTriggerPayload, updateIgnoreQueryTrigger } from './triggers-actions.js';
export type { ApplyQueryTriggerModificationPayload, UpdateIgnoreQueryTriggerPayload, updateIgnoreQueryTrigger, };
/**
 * The triggers action creators.
 *
 * @group Actions
 * @category Triggers
 */
export interface TriggersActionCreators {
    /**
     * Updates the query to ignore the query trigger.
     *
     * @param payload - The action creator payload.
     * @returns A dispatchable action.
     * */
    updateIgnoreQueryTrigger(payload: UpdateIgnoreQueryTriggerPayload): PayloadAction<UpdateIgnoreQueryTriggerPayload>;
    /**
     * Applies a query trigger modification.
     *
     * @param payload - The action creator payload.
     * @returns A dispatchable action.
     * */
    applyQueryTriggerModification(payload: ApplyQueryTriggerModificationPayload): PayloadAction<ApplyQueryTriggerModificationPayload>;
}
/**
 * Loads the commerce triggers reducer and returns the available triggers action creators.
 *
 * @param engine - The headless commerce engine.
 * @returns An object holding the triggers actions.
 *
 * @group Actions
 * @category Triggers
 */
export declare function loadTriggersActions(engine: CommerceEngine): {
    updateIgnoreQueryTrigger: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: UpdateIgnoreQueryTriggerPayload], UpdateIgnoreQueryTriggerPayload, "commerce/triggers/query/updateIgnore", never, never>;
    applyQueryTriggerModification: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: ApplyQueryTriggerModificationPayload], ApplyQueryTriggerModificationPayload, "commerce/triggers/query/applyModification", never, never>;
};
