import { NavigationCancel, NavigationEnd, NavigationError, NavigationStart, RoutesRecognized } from '@angular/router'; import { BaseRouterStoreState } from './serializers/base'; import { SerializedRouterStateSnapshot } from './serializers/default_serializer'; /** * An action dispatched when a router navigation request is fired. */ export declare const ROUTER_REQUEST = "@ngrx/router-store/request"; /** * Payload of ROUTER_REQUEST */ export declare type RouterRequestPayload = { routerState: T; event: NavigationStart; }; /** * An action dispatched when a router navigation request is fired. */ export declare type RouterRequestAction = { type: typeof ROUTER_REQUEST; payload: RouterRequestPayload; }; /** * An action dispatched when the router navigates. */ export declare const ROUTER_NAVIGATION = "@ngrx/router-store/navigation"; /** * Payload of ROUTER_NAVIGATION. */ export declare type RouterNavigationPayload = { routerState: T; event: RoutesRecognized; }; /** * An action dispatched when the router navigates. */ export declare type RouterNavigationAction = { type: typeof ROUTER_NAVIGATION; payload: RouterNavigationPayload; }; /** * An action dispatched when the router cancels navigation. */ export declare const ROUTER_CANCEL = "@ngrx/router-store/cancel"; /** * Payload of ROUTER_CANCEL. */ export declare type RouterCancelPayload = { routerState: V; storeState: T; event: NavigationCancel; }; /** * An action dispatched when the router cancels navigation. */ export declare type RouterCancelAction = { type: typeof ROUTER_CANCEL; payload: RouterCancelPayload; }; /** * An action dispatched when the router errors. */ export declare const ROUTER_ERROR = "@ngrx/router-store/error"; /** * Payload of ROUTER_ERROR. */ export declare type RouterErrorPayload = { routerState: V; storeState: T; event: NavigationError; }; /** * An action dispatched when the router errors. */ export declare type RouterErrorAction = { type: typeof ROUTER_ERROR; payload: RouterErrorPayload; }; /** * An action dispatched after navigation has ended and new route is active. */ export declare const ROUTER_NAVIGATED = "@ngrx/router-store/navigated"; /** * Payload of ROUTER_NAVIGATED. */ export declare type RouterNavigatedPayload = { routerState: T; event: NavigationEnd; }; /** * An action dispatched after navigation has ended and new route is active. */ export declare type RouterNavigatedAction = { type: typeof ROUTER_NAVIGATED; payload: RouterNavigatedPayload; }; /** * A union type of router actions. */ export declare type RouterAction = RouterRequestAction | RouterNavigationAction | RouterCancelAction | RouterErrorAction | RouterNavigatedAction;