import { Observable } from 'rxjs/Observable'; import { BuildGraph } from '../brocc/build-graph'; import { Transform } from '../brocc/transform'; /** * A transformation for building an npm package: * * - discoverPackages * - initTsConfig * - analyzeTsSources (thereby extracting template and stylesheet files) * - for each entry point * - run the entryPontTransform * - writeNpmPackage * * @param project Project token, reference to `ng-package.json` * @param initTsConfigTransform Transformation initializing the tsconfig of each entry point. * @param analyseSourcesTransform Transformation analyzing the typescript source files of each entry point. * @param entryPointTransform Transformation for asset rendering and compilation of a single entry point. */ export declare const packageTransformFactory: (project: string, initTsConfigTransform: Transform, analyseSourcesTransform: Transform, entryPointTransform: Transform) => (source$: Observable) => Observable;