/** * Represents an abstraction over the native `window.location` object, * respecting the current routing strategy (hash vs. path). * * @public */ export interface IRouterLocation { /** * Returns the normalized pathname based on the routing strategy. */ readonly pathname: string; /** * Returns the normalized search string (query params). */ readonly search: string; /** * Returns the full `href` (relative or absolute) based on routing strategy. */ readonly href: string; /** * Returns the raw `hash` from `window.location`, if applicable. */ readonly hash: string; /** * Forces a navigation to the specified path. * Updates browser history depending on routing mode. * * @param href - The target path or full href to navigate to. */ navigate(href: string): void; } //# sourceMappingURL=IRouterLocation.d.ts.map