@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
11 lines (10 loc) • 734 B
TypeScript
import { AppState } from '../app';
export interface IdleState {
hasOrder: boolean;
isIdle: boolean;
isDebug?: boolean;
}
export declare const resetIdleState: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"idle/resetIdleState">, setHasOrder: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "idle/setHasOrder">, setIsIdle: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "idle/setIsIdle">, setIsDebug: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "idle/setIsDebug">;
export declare const selectIdleState: (state: AppState) => IdleState;
export declare const selectIsDebug: (state: AppState) => boolean | undefined;
export declare const idleReducer: import("redux").Reducer<IdleState>;