export interface LibraryPackage { /** * The name of the library. By convention, the library source will be found in `libs/${name}`. */ name: string; /** * The full path to the root of the library. */ root: string; /** * The full path to the root of the project. */ projectRoot: string; /** * The full path to the package.json of the library. */ packageRoot: string; /** * The node module name for the package (used for imports). */ packageName: string; /** * The relative path to the entry src file (relative to packageRoot). */ entry: string; /** * The full path to the dist build of this package. */ dist: string; /** * Full path to a custom tsconfig.json for this library. */ tsconfigFilePath?: string; /** * The version of the library for adding to Model */ version?: string; } export interface EntryPoint { /** * The import ID. The full import URL would be `${LibraryPackage.packageName}/${EntryPoint.id}`. */ id: string; /** * The full path to the package.json for this entry. */ packageRoot: string; /** * The relative path to the entry src file (relative to packageRoot). */ entry: string; } export interface BuiltLibrary { from: LibraryPackage; buildDir: string; } declare interface PackageJson { name: string; [key: string]: any; } export declare interface LibraryPackageJson extends PackageJson { ngPackage: { lib: { entryFile: string; }; dest: string; }; } export declare interface SecondayEntryPointPackageJson extends PackageJson { ngPackage: { lib: { entryFile: string; }; }; } export declare const getAllPublicLibraries: (src: string) => Array; export declare function copyChangelog(target: string, dest: string): Promise; /** * @see https://github.com/ng-packagr/ng-packagr/blob/d02142b23201bda87e06b7cd981a565a1b227b5a/ * src/lib/ng-v5/discover-packages.ts#L106-L120 */ export declare function additionalEntryPoints(libraryPackage: LibraryPackage): Array; export declare function libraryPublicDeclarationFile({ library, entry, }: { library: LibraryPackage; entry?: EntryPoint; }): string; export {};