import { NavigationActionType } from '../../types/NavigationActionType'; import { NavigateTo } from '../useNormalizeUrl/useNormalizeUrlUtils'; export type BaseNavigateOptions = { /** * A way to specify the action */ action?: Exclude; /** * Prevents scroll reset * @default false * @platform web */ preventScrollReset?: boolean; /** * Replaces path instead of push * @default false */ replace?: boolean; }; export type NavigateMethod = (to: NavigateTo, options?: NO) => void;