import type { AsyncThunkAction } from '@reduxjs/toolkit'; import type { AsyncThunkInsightOptions } from '../../api/service/insight/insight-api-client.js'; import type { InsightEngine } from '../../app/insight-engine/insight-engine.js'; import { type FetchInterfaceThunkReturn, type StateNeededByFetchInterface } from './insight-interface-actions.js'; /** * The Insight interface action creators. * * @group Actions * @category InsightInterface */ export interface InsightInterfaceActionCreators { /** * Fetches the Insight interface configuration. * * @returns A dispatchable action. */ fetch(): AsyncThunkAction>; } /** * Loads the `insightInterface` reducer and returns possible action creators. * * @param engine - The headless engine. * @returns An object holding the action creators. * * @group Actions * @category InsightInterface */ export declare function loadInsightInterfaceActions(engine: InsightEngine): InsightInterfaceActionCreators;