import * as ts from "typescript";
import { ScriptInfo } from "./ScriptInfo";
/**
 * 代码快照
 */
export declare class ScriptSnapshot implements ts.IScriptSnapshot {
    scriptInfo: ScriptInfo;
    textSnapshot: string;
    version: number;
    constructor(scriptInfo: ScriptInfo);
    getText(start: number, end: number): string;
    getLength(): number;
    getChangeRange(oldScript: ts.IScriptSnapshot): ts.TextChangeRange;
}
