import { Transform } from '../brocc/transform'; /** * A re-write of the `transformSources()` script that transforms an entry point from sources to distributable format. * * Sources are TypeScript source files accompanied by HTML templates and xCSS stylesheets. * See the Angular Package Format for a detailed description of what the distributables include. * * The current transformation pipeline can be thought of as: * * - clean * - renderTemplates * - renderStylesheets * - transformTsSources (thereby inlining template and stylesheet data) * - compileTs * - writeBundles * - bundleToFesm15 * - bundleToFesm5 * - bundleToUmd * - bundleToUmdMin * - relocateSourceMaps * - writePackage * - copyStagedFiles (bundles, esm, dts, metadata, sourcemaps) * - writePackageJson * * The transformation pipeline is pluggable through the dependency injection system. * Sub-transformations are passed to this factory function as arguments. * * @param renderTemplates Transformation rendering HTML templates. * @param renderStylesheets Transformation rendering xCSS stylesheets. * @param transformTsSources Transformation manipulating the typescript source files (thus inlining template and stylesheet data). * @param compileTs Transformation compiling typescript sources to ES2015 modules. * @param writeBundles Transformation flattening ES2015 modules to ESM2015, ESM5, UMD, and minified UMD. * @param relocateSourceMaps Transformation re-locating (adapting) paths in the source maps. * @param writePackage Transformation writing a distribution-ready `package.json` (for publishing to npm registry). */ export declare const entryPointTransformFactory: (renderStylesheets: Transform, renderTemplates: Transform, transformTsSources: Transform, compileTs: Transform, writeBundles: Transform, relocateSourceMaps: Transform, writePackage: Transform) => Transform;