UNPKG

ai-debug-local-mcp

Version:

🎯 ENHANCED AI GUIDANCE v4.1.2: Dramatically improved tool descriptions help AI users choose the right tools instead of 'close enough' options. Ultra-fast keyboard automation (10x speed), universal recording, multi-ecosystem debugging support, and compreh

68 lines • 1.83 kB
import { Page } from 'playwright'; export interface NextJSConfig { framework: 'Next.js'; version: string; rendering: 'App Router' | 'Pages Router'; buildMode: 'development' | 'production'; config: { reactStrictMode: boolean; experimental: string[]; images?: { domains: string[]; }; basePath?: string; assetPrefix?: string; i18n?: any; redirects?: any[]; rewrites?: any[]; }; } /** * NextJSConfigDetector - Detects and analyzes Next.js configuration * * This module is responsible for: * - Detecting Next.js framework presence * - Identifying App Router vs Pages Router * - Extracting configuration details * - Determining build mode and experimental features */ export declare class NextJSConfigDetector { private config?; /** * Detect Next.js configuration from the page */ detectConfig(page: Page): Promise<NextJSConfig | null>; /** * Check if the current page is a Next.js application */ isNextJSApp(): boolean; /** * Get the detected configuration */ getConfig(): NextJSConfig | null; /** * Get the rendering mode (App Router vs Pages Router) */ getRenderingMode(): 'App Router' | 'Pages Router' | null; /** * Get the Next.js version */ getVersion(): string | null; /** * Get the build mode */ getBuildMode(): 'development' | 'production' | null; /** * Check if a specific experimental feature is enabled */ hasExperimentalFeature(feature: string): boolean; /** * Get all enabled experimental features */ getExperimentalFeatures(): string[]; /** * Reset the detector state */ reset(): void; } //# sourceMappingURL=nextjs-config-detector.d.ts.map