import * as ts from "typescript";
import { LanguageHost } from "./LanguageHost";
export declare class RenameService {
    languageService: ts.LanguageService;
    compilerHost: ts.CompilerHost;
    languageServiceHost: LanguageHost;
    options: ts.CompilerOptions;
    debugMode: boolean;
    times: number;
    ifWriteFile: boolean;
    propsRecorder: Map<string, number>;
    compileChildren: boolean;
    firstTime: boolean;
    constructor(files: string[], optionsPath: string, debugMode: boolean, ifWriteFile?: boolean);
    renameProperty(node: ts.Node, context: ts.TransformationContext, checker: ts.TypeChecker): void;
    compiling(ifRename: boolean): ts.EmitResult;
    compilingWithWatch(ifRename: boolean): any;
    applyEdits(fileName: string, edits: any[]): number;
    ifPrivate(node: ts.Node): boolean;
    ifCompress(tags: ts.JSDocTagInfo[]): boolean;
    checkUserProperty(nameNode: ts.Identifier): boolean;
    getParentPropsNum(node: ts.ClassDeclaration, checker: ts.TypeChecker): number;
    computeProducedOffset(fileName: string, previousPosition: number): number;
    getCompilerOptions(optionsPath: string): ts.CompilerOptions;
    changeSourceFile(locations: ts.RenameLocation[], newName: string): void;
    nameFomate(previousName: string): string;
    resetRecorder(): void;
    resetTimes(start: number): void;
}
