import type { PayloadAction } from '@reduxjs/toolkit'; import type { CoreEngine } from '../../app/engine.js'; import { type AdvancedSearchQueryActionCreatorPayload } from './advanced-search-queries-actions.js'; export type { AdvancedSearchQueryActionCreatorPayload }; /** * The advanced search query action creators. * * @group Actions * @category AdvancedSearchQueries */ export interface AdvancedSearchQueryActionCreators { /** * Update the values of the advanced search queries. * * @param payload - The current state of the advanced search queries. * @returns A dispatchable action. */ updateAdvancedSearchQueries(payload: AdvancedSearchQueryActionCreatorPayload): PayloadAction; /** * Registers the initial state of the advanced search queries. * * @param payload - The initial state of the advanced search queries. * @returns A dispatchable action. */ registerAdvancedSearchQueries(payload: AdvancedSearchQueryActionCreatorPayload): PayloadAction; } /** * Loads the `advancedSearchQueries` reducer and returns possible action creators. * * @param engine - The headless engine. * @returns An object holding the action creators. * * @group Actions * @category AdvancedSearchQueries */ export declare function loadAdvancedSearchQueryActions(engine: CoreEngine): AdvancedSearchQueryActionCreators;