/** * Router Strategy Interface * Abstraction for routing strategies (history, hash, memory) */ export interface IRouterStrategy { /** * Push a new entry to the history stack */ push(path: string): void; /** * Replace the current entry in the history stack */ replace(path: string): void; /** * Go back in history */ back(): void; /** * Go forward in history */ forward(): void; /** * Get the current path */ getCurrentPath(): string; /** * Listen for navigation changes */ listen(callback: (path: string) => void): () => void; /** * Clean up resources */ destroy(): void; } //# sourceMappingURL=IRouterStrategy.d.ts.map