export interface RouteDefinition {
    path: string;
    pageImportPath: string;
    pageFilePath: string;
}
/**
 * React Router v7 Support
 *
 * This implementation parses createBrowserRouter route configurations to extract page components.
 *
 * Check the test file for supported route configurations.
 *
 * Import Aliasing:
 * - Handles: import { createBrowserRouter as createRouter } from "react-router"
 * - Handles: import * as ReactRouter from "react-router"
 *
 * Excluded Routes:
 * - Catch-all routes with path: "*"
 * - Routes with inline components (not imported from files)
 * - Layout/wrapper components that aren't page components
 *
 * File Organization:
 * - No assumptions about directory structure
 * - Page components can be located anywhere in the project
 * - Only imports with relative paths (starting with . or /) are tracked
 */
/**
 * Find the router file in the project (React Router v7)
 */
export declare function findRouterFile(rootDir: string): Promise<string>;
/**
 * Parse the router file to extract route definitions (React Router v7)
 */
export declare function parseRouterFile(routerFilePath: string, rootDir: string): Promise<RouteDefinition[]>;
//# sourceMappingURL=router-parser.d.ts.map