/** * Layer 6: Smart Defaults System * * Provides intelligent default critical journeys based on project type detection. * Enables zero-configuration Layer 6 validation with sensible smoke tests. */ import { CriticalJourney } from '../types/journey-types'; import { ProjectType } from '../types/fortress-types'; export declare class Layer6SmartDefaults { /** * Generate default critical journeys based on detected project type * * @param projectType - Detected project type (web-app, api, mobile-app, etc.) * @param projectPath - Absolute path to project root * @returns Array of default critical journeys appropriate for the project type */ static generateDefaultJourneys(projectType: string, projectPath: string): CriticalJourney[]; /** * Detect project type by analyzing project structure * * Strategy: * 1. Check fortress.config.json if it exists * 2. Analyze package.json dependencies and structure * 3. Check for framework-specific files (next.config.js, etc.) * 4. Fall back to 'custom' if detection fails * * @param projectPath - Absolute path to project root * @returns Detected project type */ static detectProjectType(projectPath: string): Promise; /** * Universal smoke tests that work for any project type * These are minimal, fast, and should pass for any functional application */ static getUniversalSmoke(): CriticalJourney[]; /** * Default journeys for web applications (Next.js, React, etc.) */ static getWebAppJourneys(projectPath: string): CriticalJourney[]; /** * Default journeys for API projects (Express, FastAPI, etc.) */ static getAPIJourneys(_projectPath: string): CriticalJourney[]; /** * Default journeys for mobile applications (React Native, etc.) */ private static getMobileAppJourneys; /** * Default journeys for data systems (ETL, pipelines, etc.) */ private static getDataSystemJourneys; /** * Detect project type from package.json dependencies and structure */ private static detectFromPackageJson; /** * Detect project type from file structure */ private static detectFromFileStructure; /** * Validate if a string is a valid ProjectType */ private static isValidProjectType; } //# sourceMappingURL=layer6-defaults.d.ts.map