import type { CodeAnalysisResult, Severity } from "../types.js"; type RuleStatus = "off" | "warn" | "error"; export interface UimaxConfig { readonly rules: Record; readonly severity: Record; readonly ignore: readonly string[]; } interface ConfigLoadResult { readonly config: UimaxConfig; readonly loaded: boolean; readonly path: string | null; } /** * Load `.uimaxrc.json` config from the given directory or up to 3 parent directories. * Returns the parsed config and load status. Falls back to defaults on error. */ export declare function loadConfig(directory: string): Promise; /** * Analyze frontend code for common issues, anti-patterns, and improvements. * * Scans TypeScript/JavaScript, CSS, and HTML files for accessibility issues, * code quality problems, design inconsistencies, and performance concerns. */ export declare function analyzeCode(directory: string): Promise; /** * Format code analysis results into a readable summary. */ export declare function formatCodeAnalysisReport(result: CodeAnalysisResult): string; export {}; //# sourceMappingURL=code-analysis.d.ts.map