@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
27 lines (26 loc) • 909 B
TypeScript
/**
* LaTeX-aware Chunker
*
* Splits LaTeX documents based on structure (sections, environments, math).
* Best for academic papers, scientific documents, and mathematical content.
*/
import type { BaseChunkerConfig, Chunk, Chunker, ChunkerValidationResult, LaTeXChunkerConfig } from "../../types/index.js";
/**
* LaTeX-aware chunker implementation
* Splits based on LaTeX structure (sections, environments)
*/
export declare class LaTeXChunker implements Chunker {
readonly strategy: "latex";
private readonly defaultSplitEnvironments;
private readonly mathEnvironments;
chunk(text: string, config?: LaTeXChunkerConfig): Promise<Chunk[]>;
/**
* Split LaTeX by sectioning commands
*/
private splitBySections;
/**
* Split content that exceeds max size
*/
private splitContent;
validateConfig(config: BaseChunkerConfig): ChunkerValidationResult;
}