import * as ts from "typescript";
/**
 * 一个代码实体类
 *
 */
export declare class ScriptInfo {
    fileName: string;
    version: number;
    content: string;
    editRanges: {
        length: number;
        textChangeRange: ts.TextChangeRange;
    }[];
    constructor(fileName: string);
    private setContent;
    updateContent(content: string): void;
    editContent(start: number, end: number, newText: string): void;
    getTextChangeRangeBetweenVersions(startVersion: number, endVersion: number): ts.TextChangeRange;
}
