import { FrameworkObject } from '../types/index.js'; /** * Detects the frontend framework used in the current project. * * Analyzes the project structure and dependencies to identify the framework. * Detection order: Mintlify → Next.js (App/Pages Router) → Gatsby → RedwoodJS → Vite → React. * * For Next.js projects, further determines whether it uses App Router or Pages Router * by checking for the presence of `app/` or `pages/` directories. * * @returns A promise resolving to a FrameworkObject containing: * - `name`: The detected framework identifier (e.g., 'next-app', 'gatsby', 'react') * or undefined if no framework is detected * - `type`: The framework category (currently only 'react' for React-based frameworks) */ export declare function detectFramework(): Promise; /** * Detects if the current project is a Mintlify documentation project. * * Checks for the presence of docs.json (preferred) or mint.json (legacy) files. * For docs.json, validates that the $schema field contains "mintlify.com/docs.json". * Rejects projects with Next.js config files to avoid misclassification. * * @param _packageJson - The parsed package.json object (not used for Mintlify detection, * but kept for API consistency with other detection functions) * @returns True if the project is identified as a Mintlify project, false otherwise */ export declare function isMintlifyProject(_packageJson: Record | null): boolean;