/** * Main parser orchestrator */ import type { ParserOptions, ParseResult } from './types.js'; /** * Main parser that orchestrates different parsing strategies */ export declare class CodeParser { private options; constructor(options?: ParserOptions); /** * Parse a file and extract code blocks */ parseFile(filePath: string): Promise; /** * Parse content with appropriate strategy */ private parseContent; /** * Validate file before parsing */ private validateFile; /** * Check if file can be parsed */ canParse(filePath: string): Promise; /** * Get supported file extensions */ getSupportedExtensions(): string[]; /** * Update parser options */ updateOptions(options: Partial): void; /** * Get current options */ getOptions(): Required; } export declare const codeParser: CodeParser; export { TreeSitterParser } from './tree-sitter.js'; export { MarkdownParser } from './markdown-parser.js'; export { FallbackChunker } from './fallback-chunker.js'; export * from './types.js'; //# sourceMappingURL=index.d.ts.map