import type { PayloadAction } from '@reduxjs/toolkit'; import type { SearchEngine } from '../../app/search-engine/search-engine.js'; import { type RegisterTabActionCreatorPayload } from './tab-set-actions.js'; export type { RegisterTabActionCreatorPayload }; /** * The tab set action creators. * * @group Actions * @category TabSet */ export interface TabSetActionCreators { /** * Registers a tab. * @param payload - The action creator payload. * @returns A dispatchable action. */ registerTab(payload: RegisterTabActionCreatorPayload): PayloadAction; /** * Updates the active tab, deselecting other tabs. * @param id - The unique identifier of the target tab (for example, `"abc"`). * @returns A dispatchable action. */ updateActiveTab(id: string): PayloadAction; } /** * Loads the `tabSet` reducer and returns possible action creators. * * @param engine - The headless engine. * @returns An object holding the action creators. * * @group Actions * @category TabSet */ export declare function loadTabSetActions(engine: SearchEngine): TabSetActionCreators;