UNPKG

@open-tender/store

Version:

A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API

36 lines (35 loc) 1.61 kB
import { TypedUseSelectorHook } from 'react-redux'; import type { RootState } from './store'; export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<{ alerts: import("@open-tender/types").Alerts; allergens: import("..").AllergensState; arrivals: import("..").ArrivalsState; cartSummary: import("..").CartSummaryState; checkout: import("..").CheckoutState; config: import("..").ConfigState; customer: import("..").CustomerState; customerIdentify: import("..").CustomerIdentifyState; deals: import("..").DealsState; discounts: import("..").DiscountsState; errorAlerts: import("..").ErrorAlertsState; kds: import("..").KdsState; kiosk: import("..").KioskState; menu: import("..").MenuState; menuPages: import("..").MenuPagesState; modal: import("..").ModalState; notifications: import("@open-tender/types").Notifications; offlineAuths: import("..").OfflineAuthsState; order: import("..").OrderState; pos: import("..").PosState; punches: import("..").PunchesState; refund: import("..").RefundState; sendReceipt: import("..").SendReceiptState; settings: import("..").SettingsState; sidebar: import("..").SidebarState; surcharges: import("..").SurchargesState; taxes: import("..").TaxesState; idle: import("..").IdleState; tags: import("..").TagsState; revenueCenter: import("..").RevenueCenterState; }, undefined, import("redux").UnknownAction> & import("redux").Dispatch<import("redux").Action>; export declare const useAppSelector: TypedUseSelectorHook<RootState>;