
//#region src/providers/navigation.types.d.ts
interface Path {
  pathname?: string;
  search?: string;
  hash?: string;
}
type To = string | Path;
type NavigateArg = To | number;
type RelativeRoutingType = 'route' | 'path';
interface NavigateOptions {
  replace?: boolean;
  state?: unknown;
  relative?: RelativeRoutingType;
  preventScrollReset?: boolean;
}
type NavigateLike = {
  (to: To, options?: NavigateOptions): void;
  (delta: number): void;
};
interface NavigationAdapter {
  useHref: (to: To, options?: {
    relative?: RelativeRoutingType;
  }) => string;
  useNavigate: () => NavigateLike;
}
//#endregion
export { NavigateArg, NavigateLike, NavigateOptions, NavigationAdapter, Path, RelativeRoutingType, To };
//# sourceMappingURL=navigation.types.d.ts.map