import * as ts from 'typescript'; import * as _project from './project'; import * as _reporter from './reporter'; import { GetCustomTransformers } from './types'; declare function compile(proj: _project.Project, theReporter?: _reporter.Reporter): compile.CompileStream; declare function compile(settings: compile.Settings, theReporter?: _reporter.Reporter): compile.CompileStream; declare function compile(): compile.CompileStream; declare module compile { interface Settings { out?: string; outFile?: string; outDir?: string; allowNonTsExtensions?: boolean; charset?: string; codepage?: number; declaration?: boolean; locale?: string; mapRoot?: string; noEmitOnError?: boolean; noImplicitAny?: boolean; noLib?: boolean; noLibCheck?: boolean; noResolve?: boolean; preserveConstEnums?: boolean; removeComments?: boolean; suppressImplicitAnyIndexErrors?: boolean; target?: string | ts.ScriptTarget; module?: string | ts.ModuleKind; moduleResolution?: string | number; jsx?: string | number; declarationFiles?: boolean; noExternalResolve?: boolean; sortOutput?: boolean; getCustomTransformers?: GetCustomTransformers; typescript?: typeof ts; isolatedModules?: boolean; rootDir?: string; rootDirs?: any; lib?: string[]; experimentalDecorators?: boolean; [name: string]: any; sourceRoot?: string; } type Project = _project.Project; type CompileStream = _project.ICompileStream; export import reporter = _reporter; function createProject(tsConfigFileName: string, settings?: Settings): Project; function createProject(settings?: Settings): Project; function filter(...args: any[]): void; } export = compile;