import type { NgtscProgram, ParsedConfiguration, Program } from '@angular/compiler-cli'; import type { RollupCache } from 'rollup'; import ts from 'typescript'; import { FileCache } from '../file-system/file-cache'; import { ComplexPredicate } from '../graph/build-graph'; import { Node } from '../graph/node'; import { AngularDiagnosticsCache } from '../ngc/angular-diagnostics-cache'; import { StylesheetProcessor } from '../styles/stylesheet-processor'; import { DestinationFiles, NgEntryPoint } from './entry-point/entry-point'; import { NgPackage } from './package'; export declare function isEntryPoint(node: Node): node is EntryPointNode; export declare function isPackage(node: Node): node is PackageNode; export declare function byEntryPoint(): ComplexPredicate; export declare function isEntryPointInProgress(): ComplexPredicate; export declare function isEntryPointPending(): ComplexPredicate; export declare function fileUrl(path: string): string; export declare function fileUrlPath(url: string): string | null; export declare function ngUrl(path: string): string; export type OutputFileCache = Map; export declare class EntryPointNode extends Node { readonly url: string; readonly type = "application/ng-entry-point"; constructor(url: string, sourcesFileCache: FileCache, moduleResolutionCache: ts.ModuleResolutionCache); cache: { outputCache: OutputFileCache; oldPrograms?: Record; sourcesFileCache: FileCache; analysesSourcesFileCache: FileCache; moduleResolutionCache: ts.ModuleResolutionCache; rollupFESM2022Cache?: RollupCache; rollupTypesCache?: RollupCache; stylesheetProcessor?: StylesheetProcessor; oldNgtscProgram?: NgtscProgram; oldBuilder?: ts.EmitAndSemanticDiagnosticsBuilderProgram; angularDiagnosticCache: AngularDiagnosticsCache; }; data: { destinationFiles: DestinationFiles; entryPoint: NgEntryPoint; tsConfig?: ParsedConfiguration; }; dispose(): void; } export declare class PackageNode extends Node { readonly type = "application/ng-package"; data: NgPackage; cache: { sourcesFileCache: FileCache; moduleResolutionCache: ts.ModuleResolutionCache; }; }