/** * @manifesto-ai/translator v1.0 * * Semantic compiler from natural language to Intent Graph. * * Architecture (SPEC v1.0.3): * - Natural Language -> Intent Graph -> Target Output * - Clean Architecture with Strategy Pattern + Ports & Adapters * - Composes with @manifesto-ai/intent-ir v0.2 * - No runtime dependency on Core/Host/World/App * * Key Principles: * 1. Independence is sacred - no runtime coupling * 2. Composition over replacement - Intent IR is wrapped, not superseded * 3. Measurement is pure - ambiguity is scored, not judged * 4. Lowering is target-specific - Core produces graphs; exporters produce execution plans * 5. Graphs are acyclic - cycles are errors, not features * * @packageDocumentation */ export { TRANSLATOR_VERSION, TRANSLATOR_SPEC_VERSION } from "./constants.js"; export type { Span, Chunk } from "./core/types/chunk.js"; export { createChunk, spansOverlap, hasOverlappingChunks } from "./core/types/chunk.js"; export type { IntentNodeId, Role, ResolutionStatus, Resolution, IntentNode, GraphMeta, IntentGraph, } from "./core/types/intent-graph.js"; export { createNodeId, isResolved, isAbstract, getNodeIds, buildNodeMap, } from "./core/types/intent-graph.js"; export type { ExecutionStep, DependencyEdge, ExecutionPlan, } from "./core/types/execution-plan.js"; export type { ValidationErrorCode, ValidationErrorInfo, ValidationWarning, ValidationResult, } from "./core/types/validation.js"; export { validResult, invalidResult, isValid } from "./core/types/validation.js"; export type { Diagnostic, DiagnosticsBag, DiagnosticsReadonly, } from "./core/types/diagnostics.js"; export { calculateObservationStats } from "./core/types/diagnostics.js"; export type { ExtensionCandidateKind, ExtensionCandidate, MelCandidatePayload, } from "./core/types/extension-candidate.js"; export { isMelCandidate } from "./core/types/extension-candidate.js"; export type { PipelinePhase, LLMErrorCode } from "./core/types/errors.js"; export { TranslatorError, PipelineError, ValidationException, LLMError, OverlapSafetyError, InspectorGraphReturnError, } from "./core/types/errors.js"; export type { DecomposeOptions, DecomposeStrategy, } from "./core/interfaces/decomposer.js"; export type { TranslateOptions, TranslateStrategy, } from "./core/interfaces/translator.js"; export type { MergeOptions, MergeStrategy } from "./core/interfaces/merger.js"; export type { LLMCallOptions, LLMMessage, LLMRequest, LLMUsage, LLMResponse, LLMPort, } from "./core/interfaces/llm-port.js"; export type { ExportInput, TargetExporter, } from "./core/interfaces/exporter-port.js"; export { exportTo } from "./core/interfaces/exporter-port.js"; export { TranslatorPipeline, type PipelineOptions, type PipelineResult, ParallelExecutor, type ParallelExecutorOptions, createParallelExecutor, DiagnosticsBagImpl, createDiagnosticsBag, } from "./pipeline/index.js"; export { createDefaultPipeline, createContextOverlapPipeline, createFastPipeline, createTestPipeline, createCustomPipeline, type CustomPipelineConfig, } from "./pipeline/factory.js"; export type { ReadonlyPipelineContext, ChunkHookContext, StandardHook, ChunkHook, TransformerHook, PipelineHooks, PipelinePlugin, } from "./plugins/types.js"; export { isInspector, isTransformer } from "./plugins/types.js"; export { orDetectorPlugin, coverageCheckerPlugin, dependencyRepairPlugin, taskEnumerationPlugin, } from "./plugins/index.js"; export { SlidingWindowDecomposer, SentenceBasedDecomposer, } from "./strategies/decompose/index.js"; export { LLMTranslator, type LLMTranslatorConfig, DeterministicTranslator, type DeterministicTranslatorConfig, type PatternExtractor, } from "./strategies/translate/index.js"; export { ConservativeMerger, AggressiveMerger, } from "./strategies/merge/index.js"; export { validateChunks, assertValidChunks } from "./helpers/validate-chunks.js"; export { validateGraph, assertValidGraph, type ValidateGraphOptions, } from "./helpers/validate-graph.js"; export { buildExecutionPlan } from "./helpers/build-execution-plan.js"; export { checkCausalIntegrity, hasCycle, type CycleCheckResult, checkReferentialIdentity, isReferentialIdentityValid, checkEntityTypeConsistency, type ReferentialIdentityCheckResult, type EntityTypeConflict, type EntityTypeConsistencyResult, checkCompleteness, isCompletenessValid, type CompletenessCheckResult, checkStatefulness, isStatefulnessValid, type StatefulnessCheckResult, type StatefulnessWarning, checkAbstractDependency, isAbstractDependencyValid, type AbstractDependencyCheckResult, } from "./invariants/index.js"; //# sourceMappingURL=index.d.ts.map