/**
 * Route Tracker
 *
 * Parses test output to extract visited routes and track coverage.
 *
 * @module core/auto/e2e-coverage/route-tracker
 * @since v1.0.115
 */
import type { RouteVisit, RouteTrackingResult } from './types.js';
/**
 * Parse Playwright test output to extract visited routes
 *
 * Looks for patterns like:
 * - page.goto('http://localhost:3000/login')
 * - await page.goto('/dashboard')
 * - navigating to "http://localhost:3000/products"
 * - → /api/users (XHR) - skip API routes
 *
 * @param output - Test output (stdout/stderr combined)
 * @param baseUrl - Optional base URL to normalize routes
 * @returns Array of route visits
 */
export declare function parseRouteVisits(output: string, baseUrl?: string): RouteVisit[];
/**
 * Match a visited route against manifest routes (handling dynamic segments)
 *
 * @param visitedRoute - The actual route visited (e.g., "/products/123")
 * @param manifestRoutes - Routes in manifest (may include :params like "/products/:id")
 * @returns Matched manifest route or null
 */
export declare function matchRouteToManifest(visitedRoute: string, manifestRoutes: string[]): string | null;
/**
 * Track route coverage from test output
 *
 * Parses test output, extracts route visits, and updates manifest.
 *
 * @param projectPath - Project root path
 * @param testOutput - Raw test output
 * @param options - Tracking options
 * @returns Tracking result with updated manifest
 *
 * @example
 * ```typescript
 * const result = trackRouteCoverage('/path/to/project', testOutput);
 * console.log(`Tested ${result.newlyTested.length} new routes`);
 * ```
 */
export declare function trackRouteCoverage(projectPath: string, testOutput: string, options?: {
    baseUrl?: string;
    viewport?: string;
}): RouteTrackingResult;
/**
 * Parse viewport from Playwright project name
 *
 * @param projectName - Playwright project name from config or output
 * @returns Normalized viewport name
 */
export declare function parseViewportFromProject(projectName: string): string;
//# sourceMappingURL=route-tracker.d.ts.map