import { NavigationAdapter, VowelRoute } from '../../../types'; /** * Navigation adapter for extension platform * * Handles navigation in extension context by: * - Querying active tab information * - Sending navigation commands to active tab * - Extracting routes from page context * * Note: This adapter maintains cached state since some methods must be synchronous * while Chrome APIs are async. * * @example * ```typescript * const adapter = new ExtensionNavigationAdapter(); * await adapter.navigate('/products'); * const currentPath = adapter.getCurrentPath(); * ``` */ export declare class ExtensionNavigationAdapter implements NavigationAdapter { private cachedPath; constructor(); /** * Update cached path from active tab */ private updateCachedPath; /** * Navigate to a path in the active tab * * @param path - Target path or URL * @param context - Optional navigation context */ navigate(path: string, context?: any): Promise; /** * Get current path (synchronous, returns cached value) * * @returns Current URL path */ getCurrentPath(): string; /** * Get available routes from active tab * * @returns Array of available routes */ getRoutes(): Promise; /** * Get navigation context from active tab * * @returns Navigation context object */ getContext(): Promise; /** * Get the active browser tab */ private getActiveTab; } //# sourceMappingURL=ExtensionNavigationAdapter.d.ts.map