@qite/tide-booking-component
Version:
React Booking wizard & Booking product component for Tide
45 lines (44 loc) • 1.92 kB
TypeScript
import { Action, ThunkAction } from "@reduxjs/toolkit";
export declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore<
{
booking: import("./features/booking/booking-slice").BookingState;
travelersForm: import("./features/travelers-form/travelers-form-slice").TravelersFormState;
priceDetails: import("./features/price-details/price-details-slice").PriceDetailsState;
summary: import("./features/summary/summary-slice").SummaryState;
apiSettings: import("../shared/types").ApiSettingsState;
},
import("redux").AnyAction,
[
import("@reduxjs/toolkit").ThunkMiddleware<
{
booking: import("./features/booking/booking-slice").BookingState;
travelersForm: import("./features/travelers-form/travelers-form-slice").TravelersFormState;
priceDetails: import("./features/price-details/price-details-slice").PriceDetailsState;
summary: import("./features/summary/summary-slice").SummaryState;
apiSettings: import("../shared/types").ApiSettingsState;
},
import("redux").AnyAction,
undefined
>
]
>;
export type RootState = ReturnType<typeof store.getState>;
export type AppThunk<ReturnType = void> = ThunkAction<
ReturnType,
RootState,
unknown,
Action<string>
>;
export type AppDispatch = typeof store.dispatch;
export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispatch<
{
booking: import("./features/booking/booking-slice").BookingState;
travelersForm: import("./features/travelers-form/travelers-form-slice").TravelersFormState;
priceDetails: import("./features/price-details/price-details-slice").PriceDetailsState;
summary: import("./features/summary/summary-slice").SummaryState;
apiSettings: import("../shared/types").ApiSettingsState;
},
undefined,
import("redux").AnyAction
> &
import("redux").Dispatch<import("redux").AnyAction>;