UNPKG

@yext/search-headless

Version:

A library for powering UI components for Yext Search integrations

9 lines 496 B
import { EnhancedStore, PayloadAction, AnyAction } from '@reduxjs/toolkit'; import { ThunkMiddleware } from 'redux-thunk'; import { ParentState } from './models/state'; export interface ActionWithHeadlessId extends PayloadAction<unknown> { headlessId: string; } export type HeadlessEnhancedStore = EnhancedStore<ParentState, ActionWithHeadlessId, ThunkMiddleware<ParentState, AnyAction>[]>; export declare function createBaseStore(): HeadlessEnhancedStore; //# sourceMappingURL=store.d.ts.map