import type { TransformContext, TransformResult } from '@angular-modernizer/plugin-system'; import type { PublicApi } from '@angular-modernizer/api'; /** * Options for library extraction. * Passed via context.config (the transform-code MCP tool's 'options' field). */ export interface LibraryExtractionOptions { /** Library name (e.g., 'ui', 'forms'). */ libraryName: string; /** NPM scope prefix (e.g., '@myapp'). */ libraryPrefix: string; /** Library type strategy. Default: 'angular-library'. */ libraryType?: 'angular-library' | 'folder-move'; /** Target output folder. Default: 'projects/'. */ outputFolder?: string; /** File paths of artifacts to migrate. */ artifacts: string[]; /** Secondary entry point names (e.g., ['button', 'card']). */ secondaryEntryPoints?: string[]; /** Dry run — analyze only, no modifications. */ dryRun?: boolean; } /** * Library Extraction Orchestrator. * * Thin coordinator: delegates to 5 specialized collaborators, each with * a single responsibility. The coordinator is responsible only for * sequencing, error handling, and result aggregation. */ export declare class LibraryExtractionOrchestrator { private readonly cliGenerator; private readonly migrator; private readonly importRewriter; private readonly buildConfigUpdater; private readonly validator; run(context: TransformContext): Promise; private dryRunResult; private resolveProjectRoot; } //# sourceMappingURL=library-extraction.orchestrator.d.ts.map