import type { FlowrAnalyzerContext } from '../../context/flowr-analyzer-context';
import type Parser from 'web-tree-sitter';
import type { FilePath } from '../../context/flowr-file';
export interface ReparseInfo {
    readonly previousTree: Parser.Tree;
    readonly editRegion: Parser.Edit | undefined;
}
/**
 * Computes the information needed to reparse a file incrementally with tree-sitter.
 * Returns `undefined` if incremental reparsing is not possible.
 */
export declare function computeReparseInfo(ctx: FlowrAnalyzerContext, filePath: FilePath): ReparseInfo | undefined;
