/**
 * Next.js Route Extractor
 *
 * Detects routes from Next.js App Router and Pages Router conventions.
 * Derives route paths from the filesystem structure.
 */
import type { ScanFile } from '../../shared/types';
import type { RouteDefinition } from './types';
/**
 * Extract Next.js routes from scanned files.
 *
 * Detects App Router (export function GET/POST in route files)
 * and Pages Router (export default in pages/api files).
 */
export declare function extractNextJSRoutes(files: ScanFile[], frameworkPrimary: string | undefined): RouteDefinition[];
//# sourceMappingURL=nextjs.d.ts.map