import type { DependencyGraphResult } from '../analyzer/dependency-graph.js'; import type { GeneratedSpec } from '../generator/openspec-format-generator.js'; export { resolveGenerationProvider } from './llm-provider-resolution.js'; export type { ProviderName } from './llm-provider-resolution.js'; export { detectOpenSpecPackageVersion, OPENLORE_PACKAGE_VERSION } from './package-versions.js'; type FinalizationStep = 'mapping' | 'rag-manifest' | 'spec-snapshot'; export interface GenerationFinalizationOptions { rootPath: string; openspecRoot: string; openspecPath: string; mappingRootPath?: string; mappingOpenspecPath?: string; snapshotRootPath?: string; snapshotOpenspecPath?: string; metadataSpecs: GeneratedSpec[]; depGraph?: DependencyGraphResult; mapping?: boolean; scoped?: boolean; onProgress?: (step: FinalizationStep, status: 'complete' | 'skip', detail: string) => void; } /** * Rebuild the deterministic artifacts derived after specs are written. * Each artifact is rebuildable and therefore intentionally best-effort. */ export declare function finalizeGeneration(options: GenerationFinalizationOptions): Promise; //# sourceMappingURL=generation-core.d.ts.map