import { FunctionInfo } from '../types/analysis';
export interface EnhancedParserConfig {
    enableTreeSitter?: boolean;
    fallbackToRegex?: boolean;
    debugMode?: boolean;
}
export declare class EnhancedASTParser {
    private simpleParser;
    private treeParser?;
    private useTreeSitter;
    private fallbackToRegex;
    private debugMode;
    constructor(config?: EnhancedParserConfig);
    extractFunctions(content: string, filePath: string): FunctionInfo[];
    extractFunctionCalls(content: string, filePath: string): Array<{
        name: string;
        file: string;
        line: number;
        column: number;
        context: string;
        arguments: string[];
        argumentCount: number;
        callType: 'function' | 'method' | 'constructor';
    }>;
    getParserStats(): {
        usingTreeSitter: boolean;
        fallbackEnabled: boolean;
        parserType: 'tree-sitter' | 'regex' | 'hybrid';
    };
    setTreeSitterEnabled(enabled: boolean): void;
}
//# sourceMappingURL=ast-parser-enhanced.d.ts.map