import { IAction } from '@rh-support/types/shared'; import { AppRouteSections } from './RouteConstNTypes'; export interface IRouteState { activeSection: AppRouteSections | undefined; activeStepName: string | undefined; isCaseCreate: boolean; isSearchIntent: boolean; isNextBtnClickedToShowValidationError: boolean; noValidEntitlement: boolean | null; } export declare enum RouteReducerConstants { activeSectionChanged = "activeSectionChanged", setRouteFlags = "setRouteFlags", setisNextBtnClickedToShowValidationError = "setisNextBtnClickedToShowValidationError", setNoValidEntitlement = "setNoValidEntitlement" } export interface IRoutePayloadType extends IRouteState { isIdea: boolean; product: string; } type IActionType = IAction; export type RouteReducerDispatchType = (value: IActionType) => void; export declare function isSearchIntent(isCaseCreate: boolean, summary: string): boolean; export declare const initialRouteReducerState: IRouteState; export declare const routeReducer: (pState: IRouteState, action: IActionType) => IRouteState; export declare const setNoValidEntitlement: (dispatch: RouteReducerDispatchType, noValidEntitlement: boolean | null) => void; export declare const setRouteFlags: (dispatch: RouteReducerDispatchType, isCaseCreate: boolean, isSearchIntent: boolean) => void; export declare const setActiveSectionChanged: (dispatch: RouteReducerDispatchType, activeSection: AppRouteSections, activeStepName: string) => void; export declare const updateisNextBtnClickedToShowValidationError: (dispatch: RouteReducerDispatchType, isNextBtnClickedToShowValidationError: boolean) => void; export {}; //# sourceMappingURL=RouteReducer.d.ts.map