/**
 * SpecVerse AI Module — public surface.
 *
 * Post AI-SDK replatform (2026-04, engines 6.0):
 *   - Provider abstraction is Vercel AI SDK (`ai` + `@ai-sdk/*`).
 *   - SpecVerse-specific: model-resolver picks claude-cli | anthropic |
 *     openai-compatible | stub based on SPECVERSE_AI_PROVIDER.
 *   - Behaviour generation at realize time delegates to generateText()
 *     through the resolved model; skill-aware system-prompt assembly.
 *
 * What was removed in 6.0:
 *   - LLMProvider, LLMProviderRegistry, ProviderFactory
 *   - OpenAIProvider, AnthropicProvider, InteractiveProvider
 *   - SpecVerseOrchestrator, InteractiveWorkflow (dead code, no consumers)
 *   - ConfigLoader / SpecVerseConfig (consumed only by the orchestrator)
 *   - config-loader.ts (no consumers)
 * Consumers on those APIs should migrate to resolveModel() + generateText()
 * from 'ai'. See docs/guides/SPECVERSE-AI.md.
 */
export * from './commands/index.js';
export * from './types/index.js';
export { SessionManager } from './session/session-manager.js';
export type { SessionInfo, JobRequest, JobStatus, CreateSessionOptions, } from './session/types.js';
export { BehaviorAIService } from './behavior-ai-service.js';
export type { BehaviorAIServiceOptions, BehaviorGenerateContext } from './behavior-ai-service.js';
export { regenerateBehavior } from './behavior-regenerate.js';
export type { RegenerateBehaviorOptions, RegenerateBehaviorResult } from './behavior-regenerate.js';
export { resolveModel, resolveProviderId, describeActiveProvider } from './model-resolver.js';
export type { ProviderId, ResolveModelOptions } from './model-resolver.js';
export { AI_BEHAVIOR_LIBRARY_WHITELIST, AI_BEHAVIOR_LIBRARY_TRIGGERS, isWhitelistedLibrary, predictAiBehaviorLibraries, extractDynamicImports, validateImportWhitelist, } from './library-whitelist.js';
export type { AiBehaviorLibrary } from './library-whitelist.js';
export { claudeCli, isClaudeCliAvailable, detectClaudePath } from './providers/claude-cli.js';
export type { ClaudeCliOptions } from './providers/claude-cli.js';
export { stubModel } from './providers/stub.js';
export { loadPrompt, substitute, assembleSystem, assembleUser, buildRunModel, runPrompt, extractSpec, extractSpecAndManifest, } from './prompt-runner.js';
export type { PromptYaml, BuildRunModelOptions, RunPromptOptions, RunPromptResult, } from './prompt-runner.js';
export { runAnalyse } from './analyse-runner.js';
export type { RunAnalyseOptions, RunAnalyseResult } from './analyse-runner.js';
export { ANALYSE_VERIFIERS, runAllAnalyseVerifiers, parseEnabledOverrides, runAnalyseVerifyFeedback, buildAnalyseQualitySidecar, writeAnalyseQuality, formatAnalyseQualityLine, isProgrammingStep, programmingSignals, isNonDomainEvent, STEP_TRANSCRIPTION_VERIFIER, EVENT_DISCIPLINE_VERIFIER, } from './analyse-verify/index.js';
export type { VerifyFinding, ContextScope, AnalyseVerifyContext, AnalyseVerifier, OwnerQualityEntry, AnalyseQualitySidecar, AnalyseRefire, AnalyseVerifyResult, } from './analyse-verify/index.js';
export { runBehaviours } from './behaviours-runner.js';
export type { RunBehavioursOptions, RunBehavioursResult } from './behaviours-runner.js';
export { runCreate } from './create-runner.js';
export type { RunCreateOptions, RunCreateResult } from './create-runner.js';
export { buildRunFolder, caseRunPath, ensureSubdirs, inputDir, factsDir, promptsDir, llmOutputDir, specsDir, projectDir, writeStageSpec, writeProjectReadme, writeManifest, writeScore, writeReadme, SUBDIRS, } from './run-paths.js';
export type { RunKind, BuildRunFolderOptions, RunCaseEntry, RunManifest, RunScore, ScoreCoverage, ScoreDimension, ProjectReadmeOptions, ReadmeInfo, } from './run-paths.js';
export { detectInstalledSkill } from './skill-detection.js';
import type { SpecVerseEngine, EngineInfo } from '@specverse/types';
export interface AIEngine extends SpecVerseEngine {
    generatePrompt(spec: any, options?: any): Promise<string>;
    suggest(spec: any, context?: string): Promise<any[]>;
    template(name: string, options?: any): Promise<string>;
    /** Generate a TypeScript function body for an unmatched behavior step */
    generateBehavior(step: string, context: BehaviorGenContext): Promise<string | null>;
}
export interface BehaviorGenContext {
    modelName: string;
    operationName: string;
    functionName: string;
    parameterNames: string[];
    availableModels?: string[];
    spec?: any;
}
declare class SpecVerseAIEngine implements AIEngine {
    name: string;
    version: string;
    capabilities: string[];
    initialize(): Promise<void>;
    getInfo(): EngineInfo;
    generatePrompt(spec: any, _options?: any): Promise<string>;
    suggest(spec: any, _context?: string): Promise<any[]>;
    /**
     * Generate a TypeScript function body for an unmatched behavior step.
     * Delegates to BehaviorAIService which resolves the active provider
     * (claude-cli / anthropic / openai-compatible / stub) based on env.
     */
    generateBehavior(step: string, context: BehaviorGenContext): Promise<string | null>;
    template(operation: string, options?: any): Promise<string>;
}
export declare const engine: SpecVerseAIEngine;
export default engine;
export { SpecVerseAIEngine };
//# sourceMappingURL=index.d.ts.map