Move back one entry.
Move forward one entry.
Move by delta within the history stack.
Active entry index in the history stack.
Number of entries in the history stack.
Subscribe to location changes.
Current location.
Push a new history entry.
replaceSearch controls behavior when path does not include ?query:
false/unset: carry forward current search.true: clear current search.Replace the current history entry.
replaceSearch follows the same behavior as push.
Shared history controller interface.
This is intentionally platform-agnostic. Web/native adapters can translate platform events into calls on this interface.