import * as ts from "typescript";
export declare class Compiler {
    private _compilerOptions;
    private _files;
    private _languageService;
    constructor(compilerOptions?: object, rootDirectory?: string);
    compile(files: {
        [fileName: string]: string;
    }): ts.Program;
    formatDiagnostic(diagnostic: ts.Diagnostic): string;
    getDiagnostics(fileName: string): ts.Diagnostic[];
}
