import { DrivingDistance, IAddress, IAvailableInsuranceOption, IInsuranceOption, IVehicle, PaymentType } from '@wayke-se/ecom'; import { IAccessory, IOrderVehicle } from '@wayke-se/ecom/dist-types/orders/types'; import { ICreditAssessmentStatus } from '../@types/CreditAssessmentStatus'; import { Customer } from '../@types/Customer'; import { Insurance } from '../@types/Insurance'; import { Navigation } from '../@types/Navigation'; import { OrderOptions } from '../@types/OrderOptions'; import { PaymentLookup } from '../@types/PaymentLookup'; import { StageTypes } from '../@types/Stages'; import { TradeInCarDataPartial } from '../@types/TradeIn'; import { Action } from './action'; export interface ReducerState { id: string; topNavigation: Navigation; navigation: Navigation; vehicle?: IOrderVehicle; order?: OrderOptions; customer: Customer; address?: IAddress; homeDelivery: boolean; wantTradeIn?: boolean; tradeIn?: TradeInCarDataPartial; tradeInVehicle?: IVehicle; paymentType?: PaymentType; paymentLookupResponse?: PaymentLookup; stages?: StageTypes[]; accessories: IAccessory[]; drivingDistance: DrivingDistance; insurance?: IInsuranceOption; insuranceAddOns?: Insurance; freeInsurance?: IAvailableInsuranceOption; createdOrderId?: string | null; creditAssessmentResponse?: ICreditAssessmentStatus; caseId?: string; dealer?: string; payment?: { type: string; url: string; }; stateLoadedFromSession?: boolean; } declare const reducer: (state: ReducerState | undefined, action: Action) => ReducerState; export type RootState = ReturnType; export default reducer;