import type { LibraryExtractionOptions } from './library-extraction.orchestrator.js'; /** * Result of library creation. */ export interface LibraryCreationResult { libraryPath: string; angularVersion: string; strategy: 'ng-generate' | 'manual'; createdEntryPoints: string[]; } /** * Creates Angular libraries via the Angular CLI. * * Angular CLI 14+ supports `ng generate library /` for * secondary entry points. Older versions require manual file creation. */ export declare class AngularCliLibraryGenerator { /** * Create a new Angular library for the given options. */ create(projectRoot: string, options: LibraryExtractionOptions): Promise; /** * Create secondary entry points for the library. * * Angular CLI 14+ supports `ng generate library /`. * For older versions, we create the entry point structure manually. */ createSecondaryEntryPoints(libraryPath: string, options: LibraryExtractionOptions): Promise; /** * Detect Angular CLI version from package.json. */ detectAngularVersion(projectRoot: string): string; /** * Angular CLI 14+ supports `ng generate library /`. */ private supportsCliSecondaryEntryPoints; /** * Create a secondary entry point manually for older Angular versions. * Structure: * projects//src/lib// * index.ts * ng-package.json */ private createManualEntryPoint; private detectLibraryPath; } //# sourceMappingURL=angular-cli-library-generator.d.ts.map