import { Tokenizer } from '../llm/index.js';
import { Recombiner } from '../rag/index.js';
export declare const getTextFromPriorChunks: (args: {
    originalItems: string[];
    currentIndex: number;
    overlap: number;
    characterLimit: number;
}) => string;
export declare const getTextFromNextChunks: (args: {
    originalItems: string[];
    currentIndex: number;
    overlap: number;
    characterLimit: number;
}) => string;
export declare class TextRecombiner {
    static surroundingTextWithPreview(surroundingCharacters: number, separator: string, tokenLimit: number, tokenizer: Tokenizer, overlap?: number): Recombiner<string, string>;
}
