import type { ASTNode, ComplexityMetrics, CodeSmell, AnalysisResult, DependencyGraph, CodeSuggestion, PatternMatch } from './types.js';
export declare function calculateComplexity(ast: ASTNode): ComplexityMetrics;
export declare function detectCodeSmells(ast: ASTNode): CodeSmell[];
export declare function analyzeDependencies(ast: ASTNode): DependencyGraph;
export declare function findDeadCode(ast: ASTNode): Array<{
    type: 'unused-variable' | 'unreachable-code';
    name?: string;
    location: {
        start?: number;
        end?: number;
        line?: number;
        column?: number;
    };
    message: string;
}>;
export declare function suggestOptimizations(ast: ASTNode): CodeSuggestion[];
export declare function analyzePatterns(ast: ASTNode): PatternMatch[];
export declare function analyzeMetrics(ast: ASTNode): AnalysisResult;
//# sourceMappingURL=analyzer.d.ts.map