import { ASTNode, Chunk, ChunkType, ParserAdapter } from '../types'; /** * Base class for chunk extractors */ export declare abstract class BaseExtractor { protected includeContent: boolean; constructor(adapter: ParserAdapter, includeContent?: boolean); protected adapter: ParserAdapter; /** * Extract chunks from an AST node */ abstract extract(node: ASTNode, sourceCode: string, filePath: string, parentQualifiedName?: string): Chunk[]; /** * Check if this extractor can handle the given node */ abstract canHandle(node: ASTNode): boolean; /** * Get the chunk type this extractor produces */ abstract getChunkType(): ChunkType; /** * Create a chunk from an AST node */ protected createChunk(node: ASTNode, sourceCode: string, filePath: string, name: string, qualifiedName: string, type: ChunkType, parentQualifiedName?: string): Chunk; /** * Extract nested chunks (e.g., methods from classes) */ protected extractNested(node: ASTNode, sourceCode: string, filePath: string, qualifiedName: string, extractors: BaseExtractor[]): Chunk[]; } //# sourceMappingURL=base-extractor.d.ts.map