import { type BaseChunk } from './chunk-utils.js'; export type ASTChunk = BaseChunk; /** * AST-aware code chunker for TypeScript and JavaScript files. * Chunks code by logical units (functions, classes, etc.) rather than arbitrary line counts. */ export declare class ASTChunker { /** * Check if a file can be parsed with AST chunking */ static canParse(filepath: string): boolean; /** * Parse a file and return AST-aware chunks */ chunkFile(filepath: string): Promise; /** * Extract chunks from a node */ private extractChunks; /** * Extract a chunk for a class member */ private extractMemberChunk; /** * Split a large chunk into smaller pieces */ private splitLargeChunk; } //# sourceMappingURL=ast-chunker.d.ts.map