import type { PayloadAction } from '@reduxjs/toolkit'; import type { CoreEngine } from '../../app/engine.js'; /** * The pipeline action creators. * * @group Actions * @category Pipeline */ export interface PipelineActionCreators { /** * Sets the query pipeline. * * @param pipeline - The query pipeline to set (may be empty). * @returns A dispatchable action. */ setPipeline(pipeline: string): PayloadAction; } /** * Loads the `pipeline` reducer and returns possible action creators. * * @param engine - The headless engine. * @returns An object holding the action creators. * * @group Actions * @category Pipeline */ export declare function loadPipelineActions(engine: CoreEngine): PipelineActionCreators;