import * as ts from 'typescript'; export declare type TranpilerOptions = { ROOT_DIRECTORY?: string; watchFiles?: boolean; buildFolder?: string; srcFolder?: string; verbose?: boolean; tagNamePrefix?: string; tagNameSuffix?: string; }; export default class Transpiler { readonly transformers: ts.CustomTransformers; private readonly BUILD_DIRECTORY; private readonly BUILD_SRC_DIRECTORY; private readonly VIEWS_DIRECTORY; private service; private rootFileNames; private subscribers; private readonly ROOT_DIRECTORY; private watchFiles; private buildFolder; private srcFolder; private verbose; private files; private metadata; private compilerOptions; constructor(options?: Partial); run(): void; emitFiles: () => void; refresh(): void; stop(): void; clearWatchers(): void; on(event: string, callback: () => void): void; emitFile: (fileName: string) => void; logErrors(fileName: string): void; private trigger; }