/**
 * Next.js route map: enumerate all route files (App Router + Pages Router),
 * classify rendering strategy from route segment config, and detect hybrid
 * conflicts where the same URL is served by both routers.
 *
 * This file is the orchestrator. AST reader helpers (`readRouteSegmentConfig`,
 * `classifyRendering`, `parseRouteFile`) live in `nextjs-route-readers.ts` and
 * are re-exported from here for backward compatibility.
 */
import type { NextjsRouteEntry, NextjsRouteConflict } from "./nextjs-route-readers.js";
export { readRouteSegmentConfig, classifyRendering, parseRouteFile, } from "./nextjs-route-readers.js";
export type { RenderingStrategy, RouteEntryType, RouteSegmentConfig, NextjsRouteEntry, NextjsRouteConflict, PagesRouterSignals, } from "./nextjs-route-readers.js";
export interface NextjsRouteMapResult {
    routes: NextjsRouteEntry[];
    conflicts: NextjsRouteConflict[];
    middleware: {
        file: string;
        matchers: string[];
    } | null;
    workspaces_scanned: string[];
    scan_errors: string[];
    truncated: boolean;
    truncated_at?: number;
}
export interface NextjsRouteMapOptions {
    workspace?: string | undefined;
    router?: "app" | "pages" | "both" | undefined;
    include_metadata?: boolean | undefined;
    max_routes?: number | undefined;
}
/**
 * Enumerate all Next.js routes (App + Pages Router) with rendering strategy
 * classification and hybrid conflict detection.
 */
export declare function nextjsRouteMap(repo: string, options?: NextjsRouteMapOptions): Promise<NextjsRouteMapResult>;
//# sourceMappingURL=nextjs-route-tools.d.ts.map