import type { CommonNavigationAction, NavigationState, PartialState } from './types.js'; declare function getStateForAction(state: State, action: CommonNavigationAction): State | PartialState | null; /** * Base router object that can be used when writing custom routers. * This provides few helper methods to handle common actions such as `RESET`. */ export declare const BaseRouter: { getStateForAction: typeof getStateForAction; shouldActionChangeFocus(action: CommonNavigationAction): action is { type: "NAVIGATE"; payload: { name: string; params?: object; path?: string; merge?: boolean; pop?: boolean; }; source?: string; target?: string; } | { type: "NAVIGATE_DEPRECATED"; payload: { name: string; params?: object; merge?: boolean; }; source?: string; target?: string; }; }; export {}; //# sourceMappingURL=BaseRouter.d.ts.map