/** * Python code extractor */ import type Parser from 'tree-sitter'; import { BaseExtractor } from './base.js'; import type { ExtractionResult } from '../types.js'; /** * Extractor for Python code */ export declare class PythonExtractor extends BaseExtractor { readonly language = "python"; getTargetNodeTypes(): string[]; protected extractNode(node: Parser.SyntaxNode, _filePath: string, _content: string): ExtractionResult | null; /** * Extract function definition */ private extractFunction; /** * Extract class definition */ private extractClass; /** * Extract decorated definition (function/class with decorators) */ private extractDecoratedDefinition; /** * Extract Python function parameters */ private extractPythonParameters; /** * Extract Python docstring */ private extractDocstring; /** * Override complexity calculation for Python */ protected calculateComplexity(node: Parser.SyntaxNode): number; } //# sourceMappingURL=python.d.ts.map