/** * @kernlang/core — parser, types, spec, config, style engines, codegen */ export { isPostfixMutationOperator, isSupportedAssignOperator, SUPPORTED_ASSIGN_OPERATORS, } from './assignment-operators.js'; export type { ClosureClassifier } from './closure-classifier.js'; export { CLOSURE_PARSER_UNAVAILABLE_MESSAGE, CLOSURE_PARSER_UNAVAILABLE_REASON, unavailableClosureClassifier, } from './closure-classifier.js'; export type { BodyEmitOptions, BodyEmitResult } from './codegen/body-ts.js'; export { emitNativeKernBodyTS, emitNativeKernBodyTSWithImports } from './codegen/body-ts.js'; export { assertDecimalOperands, assertNoDecimalOperator, assertNonZeroDecimalDivisor, assertPortableDecimalLiteral, assertPortableDecimalPow, DECIMAL_BARE_CONSTRUCTION_FAILCLOSE, DECIMAL_DIV_ZERO_FAILCLOSE, DECIMAL_MOD_ZERO_FAILCLOSE, DECIMAL_NON_DECIMAL_OPERAND_FAILCLOSE, DECIMAL_OPERATOR_FAILCLOSE, DECIMAL_POW_NON_INTEGER_EXP_FAILCLOSE, DECIMAL_POW_ZERO_NEGATIVE_EXP_FAILCLOSE, DECIMAL_SCALE_FAILCLOSE, DECIMAL_UNARY_OPERAND_FAILCLOSE, decimalBareConstructionFailMessage, decimalImportLineTS, decimalNonDecimalOperandFailMessage, decimalNonStringLiteralFailMessage, decimalOfLiteralValue, decimalOperatorFailMessage, decimalOpsHelpersTS, decimalPowFailMessage, decimalScaleFailMessage, decimalUnaryOperandFailMessage, decimalZeroDivisorFailMessage, isPortableDecimalLiteral, isSyntacticDecimalProducer, KERN_DECIMAL_OPS_HELPER_PY, } from './codegen/decimal-contract.js'; export { HOST_NAMESPACE_EXEMPT_ROOTS, isHostNamespaceRoot, unmappedHostNamespaceMessage, } from './codegen/host-namespace.js'; export type { StdlibCallEntry, StdlibEntry, StdlibPropertyEntry } from './codegen/kern-stdlib.js'; export { applyTemplate, KERN_STDLIB, KERN_STDLIB_MODULES, lookupStdlib, lookupStdlibCall, lookupStdlibProperty, suggestStdlibMember, suggestStdlibMethod, } from './codegen/kern-stdlib.js'; export type { PortableLogicIntent, PortableLogicPrimitive, PortableLogicPrimitiveId, PortableLogicPurity, PortableLogicSupport, PortableLogicTarget, } from './codegen/portable-logic-primitives.js'; export { lookupPortableLogicPrimitive, PORTABLE_LOGIC_PRIMITIVE_IDS, PORTABLE_LOGIC_PRIMITIVES, portableLogicSupportForTarget, validatePortableLogicPrimitiveRegistry, } from './codegen/portable-logic-primitives.js'; export type { ReactHookDep } from './codegen/react-hook-imports.js'; export { detectReactHookDeps, injectReactHookImports } from './codegen/react-hook-imports.js'; export type { RegexCaptureMeta, RegexIFoldFailReason, RegexIFoldResult } from './codegen/regex-normalize.js'; export { classifyRegexLiteralIndexReadFailClose, classifyRegexLiteralMemberReadFailClose, classifyRegexLiteralValueIRCallCalleeFailClose, expandRegexIFold, isPortableRegexLiteralProperty, isZeroWidthCapableRegex, lowerRegexAnchorsPython, lowerRegexNamedGroupsPython, normalizeRegexClasses, REGEX_ASTRAL_FAILCLOSE_PREFIX, REGEX_EXEC_FAILCLOSE, REGEX_HOST_REGEXP_FAILCLOSE, REGEX_MATCHALL_NO_G_FAILCLOSE, REGEX_NAMEDGROUP_BAD_NAME_FAILCLOSE, REGEX_NONLITERAL_FAILCLOSE, REGEX_REPLACE_BAD_NAME_FAILCLOSE, REGEX_REPLACE_BEFORE_AFTER_FAILCLOSE, REGEX_REPLACE_NONLITERAL_REPL_FAILCLOSE, REGEX_REPLACE_OOR_REF_FAILCLOSE, REGEX_REPLACEALL_NO_G_FAILCLOSE, REGEX_SPLIT_LIMIT_FAILCLOSE, REGEX_SPLIT_ZEROWIDTH_FAILCLOSE, REGEX_TEST_G_FAILCLOSE, regexAstralFailMessage, regexCaptureMeta, regexIFoldFailMessage, regexLiteralReceiverIR, regexMethodRegexArgIdent, scanRegexAstral, translateReplStringToPython, unwrapTransparentReceiverIR, validateRegexNamedGroupsPortable, validateReplStringForTS, } from './codegen/regex-normalize.js'; export type { KernStdlibUsage } from './codegen/stdlib-preamble.js'; export { detectKernStdlibUsage, emittedCodeUsesLooseEq, injectKernStdlibPreamble, injectKernStdlibPreambleIntoSFC, kernStdlibPreamble, } from './codegen/stdlib-preamble.js'; export type { SemanticTypeMapping } from './codegen-core.js'; export { CORE_NODE_TYPES, capitalize, clearEvolvedGenerators, cssPropertyName, dedent, emitIdentifier, emitImportSpecifier, emitLowConfidenceTodo, emitParamList, emitPath, emitReasonAnnotations, emitRender, emitStringKeyArray, emitStringLiteral, emitTemplateSafe, emitTypeAnnotation, exportPrefix, generateCoreNode, generateMachineReducer, getChildren, getFirstChild, getProps, getPseudoStyles, getStyles, getThemeRefs, handlerCode, hasEvolvedGenerator, isCoreNode, mapSemanticType, parseKeys, parseParamList, parseParamListFromChildren, registerEvolvedGenerator, registerEvolvedTargetGenerator, SEMANTIC_TYPE_MAP, sourceComment, unregisterEvolvedGenerator, } from './codegen-core.js'; export { type ExprEmitContext, type ExpressionEmitResult, emitExpression, emitExpressionWithImports, needsArgParens, needsBinaryParens, validateDecimalConstructionArg, validateDecimalDivModArgs, validateDecimalOperands, validateDecimalPowArgs, } from './codegen-expression.js'; export type { CallPayload, ConceptEdge, ConceptEdgeKind, ConceptEdgePayload, ConceptMap, ConceptNode, ConceptNodeKind, ConceptNodePayload, ConceptSpan, DependencyPayload, EffectPayload, EntrypointPayload, ErrorHandlePayload, ErrorRaisePayload, FunctionDeclarationPayload, GuardPayload, StateMutationPayload, } from './concepts.js'; export { conceptId, conceptSpan } from './concepts.js'; export type { ExpressSecurityLevel, FrameworkVersions, KernConfig, KernStructure, KernTarget, ResolvedKernConfig, } from './config.js'; export { ALL_TARGETS, DEFAULT_CONFIG, detectTarget, mergeConfig, resolveConfig, VALID_STRUCTURES, VALID_TARGETS, } from './config.js'; export { hasDirectSuperCtorCall } from './constructor-super.js'; export type { CoreFixture, CoreFixtureError, CoreFixtureValue, CoreGraphEdge, CoreLowerings, CoreOperation, CoreOperationKind, CoreOperationReturns, CoreTypeContract, CoreTypeContractRegistry, CoreTypeKind, CoreTypeName, } from './core-contracts/index.js'; export { BOOLEAN_CONTRACT, CORE_FIXTURE_FUNCTION, CORE_FIXTURE_UNDEFINED, CORE_TYPE_CONTRACTS, CORE_TYPE_NAMES, CoreContractEvaluationError, contractToGraphEdges, coreFixtureValueType, evaluateCoreContractOperation, FUNCTION_CONTRACT, isCoreFixtureFunction, isCoreFixtureUndefined, LIST_CONTRACT, NULL_CONTRACT, NUMBER_CONTRACT, RECORD_CONTRACT, STRING_CONTRACT, UNDEFINED_CONTRACT, } from './core-contracts/index.js'; export { CoreRuntimeContractAdapterError, coreFixtureValueToKernValue, kernValueToCoreFixtureValue, roundTripKernContractDataValue, } from './core-runtime/contract-adapter.js'; export type { CoreCompletion, CoreRuntimeResult, CreateCoreRuntimeEnvOptions, KernBuiltinValue, KernFunctionValue, KernValue, RuntimeParam, } from './core-runtime/index.js'; export { CoreRuntimeEnv, callCoreFunction, createCoreRuntimeEnv, evalCoreExpression, fromHostValue, kBoolean, kernTruthy, kNull, kNumber, kString, kUndefined, runCoreRuntime, toHostValue, } from './core-runtime/index.js'; export type { CoreShapeDiagnostic, CoreShapeDiagnosticCode, CoreShapeFacts, CoreShapeFieldFact, CoreShapeIndexerFact, CoreShapeInterfaceFact, CoreShapeValidationResult, } from './core-runtime/shape-validator.js'; export { assertCoreShape, collectCoreShapeFacts, validateCoreShape } from './core-runtime/shape-validator.js'; export type { CoverageGap } from './coverage-gap.js'; export { collectCoverageGaps, readCoverageGaps, writeCoverageGaps } from './coverage-gap.js'; export { decompile } from './decompiler.js'; export type { ExternalSignatureMap } from './ecosystem-signatures.js'; export { inferExternalSignature, inferExternalSignatureMap, parseExternalSignatureMap, } from './ecosystem-signatures.js'; export type { CodegenErrorCode } from './errors.js'; export { KernCodegenError, KernConfigError, KernParseError } from './errors.js'; export type { CapabilityIsland, ExternalBoundary, ExternalImportBinding, SidecarManifest, SidecarPackage, } from './external-boundary.js'; export { collectCapabilityIslands, collectExternalBoundaries, collectSidecarManifests, sidecarManifestFromIsland, sidecarManifestFromNode, } from './external-boundary.js'; export type { ExternalImportSymbol, ExternalImportSymbolConflict, ExternalImportSymbolKind, ExternalImportSymbolTable, ExternalNamedBinding, ExternalSignatureDiagnostic, } from './external-symbols.js'; export { buildExternalImportSymbolTable, collectExternalImportSymbols, externalSignatureDiagnostics, parseExternalNamedBinding, signatureMapForSidecarPackage, } from './external-symbols.js'; export type { CapabilityEffect, CapabilityRuntime, CapabilitySerialization, ExternalImportRegistry, ExternalImportTarget, } from './import-metadata.js'; export { importRegistryOf, importTargetFamilyOf, importTargetOf, shouldEmitImportForTarget, splitCapabilityList, validateCapabilityMetadata, validateImportMetadata, } from './import-metadata.js'; export type { InstanceofRhsRejectReason } from './instanceof-rhs.js'; export { INSTANCEOF_RHS_BUILTIN_REJECT, INSTANCEOF_RHS_WRAPPER_REJECT, instanceofRhsPythonType, instanceofRhsRejectReasonForName, } from './instanceof-rhs.js'; export { expressionV1Contract, registerExpressionV1Contract, } from './ir/semantics/expression-v1.js'; export type { LowerTarget } from './ir/semantics/fixture-lowering.js'; export { lowerFixtureForTarget, serializeValue } from './ir/semantics/fixture-lowering.js'; export type { CanonicalError, CompletionKind, CompletionRecord, ContractDoc, DifferentialResult, FixtureSample, NodeContract, NodeFixture, RegistryDoc, SemanticEnv, Trace, TraceEvent, Verdict, } from './ir/semantics/index.js'; export { CONTRACT_REGISTRY, completionsEqual, deepEqual, emptyTrace, eventsEqual, makeEnv, ReferenceRunnerError, referenceRun, referenceRunSequence, registerAllContracts, registerContract, runAllContracts, runDifferential, serializeJson, serializeMarkdown, snapshotRegistry, tracesEqual, } from './ir/semantics/index.js'; export type { RegExpValue } from './ir/semantics/portable-regex.js'; export { evalRegexTestExpression, isRegExpValue, isRegexTestExpression, isRunnerNativeRegexFailClose, makeRegExpValue, REGEXP_VALUE_TAG, } from './ir/semantics/portable-regex.js'; export { evalDecimalExpression, isDecimalExpression } from './ir/semantics/portable-scalar.js'; export type { KernNumericInput, NumericResult } from './ir/semantics/to-numeric.js'; export { ECMA_STR_WHITESPACE, KERN_UNDEFINED_SENTINEL, numberToInt32, numberToIntegerOrInfinity, numberToUint32, stringToNumber, toInt32, toIntegerOrInfinity, toNumber, toUint32, } from './ir/semantics/to-numeric.js'; export type { GapCategory, GapClassification } from './migrate-literals.js'; export { classifyHandlerGap, isInlineSafeExpression, isInlineSafeLiteral } from './migrate-literals.js'; export type { EligibilityResult, FileEligibilityReport, HandlerBodyClassifier, RawBody } from './native-eligibility.js'; export { extractRawBodies, isExplicitForeignRawBody } from './native-eligibility.js'; /** @deprecated import from `@kernlang/core/node` instead — scheduled for removal in 5.0. */ export type { AstEligibilityResult, ImportResult, LowerJsClosureBodyToPythonOptions, LowerJsClosureBodyToPythonResult, } from './node.js'; /** @deprecated import from `@kernlang/core/node` instead — scheduled for removal in 5.0. */ export { canonicalKernExpression, canonicalObjectEntriesSource, classifyClosureBlock, classifyHandlerBody, classifyHandlerBodyAst, collectFreeIdentifierNames, escapeKernString, hasComments, hasOnlyMigratableComments, hasTsOnlyTemplateEscape, importTypeScript, isValidKernAssignmentTarget, isValidKernAssignmentValue, isValidKernExpression, isValidKernTypeAnnotation, lowerJsClosureBodyToPython, parseClosureBlockAst, scanFileForEligibility, supportedCompoundAssignmentOperator, } from './node.js'; export type { ActionProps, AssumeProps, BranchProps, CacheProps, CollectProps, ColumnProps, ConditionalProps, ConfigProps, ConstProps, DependencyProps, DeriveProps, EachProps, ErrorProps, EventProps, ExpectProps, FieldProps, FnProps, GuardProps, ImportProps, InterfaceProps, InvariantProps, MachineProps, MemoProps, MethodProps, ModelProps, ModuleProps, NodePropsMap, OnProps, OptionProps, PatternProps, RecoverProps, RelationProps, RepositoryProps, ResolveProps, SelectProps, ServiceProps, StateProps, StoreProps, TestProps, TransformProps, TransitionProps, TypeProps, UnionProps, VariantProps, WebSocketProps, } from './node-props.js'; export { propsOf, propsUntyped } from './node-props.js'; export type { Token, TokenKind } from './parser.js'; export { clearParserHints, getParseDiagnostics, getParseWarnings, parse, parseDocument, parseDocumentStrict, parseDocumentWithDiagnostics, parseStrict, parseWithDiagnostics, registerParserHints, tokenizeLine, unregisterParserHints, } from './parser.js'; export type { ParseOptions } from './parser-core.js'; export type { ParseExpressionOptions } from './parser-expression.js'; export { parseExpression } from './parser-expression.js'; export { collectNativeEligibleHints, validateNativeEligible } from './parser-validate-native-eligible.js'; export type { ImportResolver, ModuleExportSymbol, ModuleExports } from './parser-validate-propagation.js'; export { splitPortableExpressionList } from './portable-expression-list.js'; export type { PortablePredicateArrayOp, PortablePredicateCompareOp, PortablePredicateExistsOp, PortablePredicateMembershipOp, PortablePredicateParseResult, PortablePredicateStringOp, PortablePredicateUnaryOp, } from './portable-predicate.js'; export { PORTABLE_PREDICATE_ARRAY_OPS, PORTABLE_PREDICATE_COMPARE_OPS, PORTABLE_PREDICATE_EXISTS_OPS, PORTABLE_PREDICATE_MEMBERSHIP_OPS, PORTABLE_PREDICATE_STRING_OPS, PORTABLE_PREDICATE_UNARY_OPS, parsePortablePredicateProp, validatePortablePredicateAST, } from './portable-predicate.js'; export { parsePortableNonNegativeIntLiteral, parsePortablePathSegments } from './portable-route-collection.js'; export type { RagAdapterPersistence, RagVectorStoreAdapterCapabilities, RagVectorStoreAdapterContract, RagVectorStoreAdapterManifest, RagVectorStoreConformanceCaseResult, RagVectorStoreConformanceContext, RagVectorStoreConformanceOptions, RagVectorStoreConformanceProfile, RagVectorStoreConformanceProfileVersion, RagVectorStoreConformanceReport, RagVectorStoreConformanceStatus, RagVectorStoreManifestValidationResult, } from './rag-adapter-conformance.js'; export { BUILTIN_RAG_VECTOR_STORE_MANIFESTS, builtinRagVectorStoreManifest, createInMemoryRagVectorStoreForConformance, defineRagVectorStoreAdapterContract, RAG_VECTOR_STORE_CONFORMANCE_PROFILE, runRagVectorStoreConformance, validateRagVectorStoreAdapterManifest, } from './rag-adapter-conformance.js'; export type { RagAssertionKind } from './rag-assertions.js'; export { RAG_ASSERTION_KIND_SET, RAG_ASSERTION_KINDS } from './rag-assertions.js'; export type { RagProviderEmbeddingOptions, RagSupportedEmbedModel } from './rag-embed-resolver.js'; export { canonicalRagEmbedModel, defaultDimsForRagEmbedModel, embedFactForPipeline, isSupportedRagEmbedModel, RAG_EMBED_MODEL_LOCAL_HASH, RAG_EMBED_MODEL_LOCAL_SEMANTIC, RAG_EMBED_MODEL_OPENAI_TEXT_EMBEDDING_3_LARGE, RAG_EMBED_MODEL_OPENAI_TEXT_EMBEDDING_3_SMALL, RAG_SUPPORTED_EMBED_MODELS, resolveAsyncRagEmbedderForPipeline, resolveSyncRagEmbedderForPipeline, } from './rag-embed-resolver.js'; export type { AsyncEmbedder, Embedder, EmbeddingFingerprintInput, OpenAIEmbeddingAdapterOptions, RagVectorStoreAdapter, RagVectorStoreKind, RagVectorStoreMetric, RagVectorStoreSnapshot, RagVectorStoreUpsert, SerializedVectorChunk, } from './rag-embedding.js'; export { AsyncEmbeddingRagIndex, asAsyncEmbedder, createAsyncEmbeddingRetriever, createEmbeddingRetriever, DEFAULT_EMBEDDING_DIMS, DEFAULT_HASH_EMBEDDER_ID, DEFAULT_LOCAL_SEMANTIC_EMBEDDER_ID, DeterministicHashEmbedder, EMBEDDING_SCORE_DECIMALS, EmbeddingRagIndex, embedderFingerprint, embeddingCosine, embeddingFingerprint, fnv1a32, InMemoryPgVectorRagStore, LocalSemanticEmbedder, OpenAIEmbeddingAdapter, RAG_VECTOR_STORE_SNAPSHOT_VERSION, } from './rag-embedding.js'; export type { RagEvalAsyncDocumentOptions, RagEvalDeclaredAsyncDocumentOptions, RagEvalDeclaredDocumentOptions, RagEvalDocumentCorpusSource, RagEvalDocumentCorpusSourceMode, RagEvalDocumentEntry, RagEvalDocumentOptions, RagEvalDocumentReport, } from './rag-eval-runner.js'; export { evaluateRagEvalDocument, evaluateRagEvalDocumentAsync, evaluateRagEvalDocumentFromDeclaredSources, evaluateRagEvalDocumentFromDeclaredSourcesAsync, } from './rag-eval-runner.js'; export type { RagIngestedSource, RagIngestOptions, RagIngestResult } from './rag-ingest.js'; export { ingestRagDeclaredLocalSources, ingestRagFactsDeclaredLocalSources, RAG_CHUNK_ID_VERSION, RAG_CHUNKER_VERSION, RAG_SEMANTIC_CHUNKER_VERSION, RAG_TOKEN_WINDOW_CHUNKER_VERSION, } from './rag-ingest.js'; export type { RagRetrieveDocumentEntry, RagRetrieveDocumentOptions, RagRetrieveDocumentReport, } from './rag-retrieve-runner.js'; export { ragRetrieveCorpusSourceSummary, retrieveRagDocument } from './rag-retrieve-runner.js'; export type { InMemoryRagRetriever, ProvenancedRetrieveResult, RagAnswerContract, RagAnswerContractDiagnostic, RagAnswerContractDiagnosticCode, RagAnswerContractResult, RagAnswerContractStatus, RagAnswerEvidencePolicy, RagAnswerGroundingSpan, RagChunkInput, RagCitation, RagContractRetriever, RagEvalAssertionCode, RagEvalAssertionResult, RagEvalCaseResult, RagEvalContractOptions, RagEvalContractResult, RagMcpRetrieveProvenanceMapping, RagRuntimeProvenance, RagRuntimeProvenanceOptions, RagRuntimeProvenanceStatus, RagSemanticAnswerContractOptions, RetrievedChunk, RetrieveOptions, RetrieveResult, } from './rag-runtime.js'; export { createInMemoryRetriever, createRagRuntimeProvenance, evaluateRagAnswerContract, evaluateRagEvalContract, evaluateRagSemanticAnswerContract, hashRetrievedChunkText, InMemoryRagCorpus, MAX_IN_MEMORY_RAG_TOP_K, ragAnswerContractFromSemanticFact, ragMcpRetrieveProvenanceMapping, retrieveFromInMemoryCorpus, tokenizeForRetrieval, withRagRuntimeProvenance, } from './rag-runtime.js'; export type { ParserHintsConfig } from './runtime.js'; export { defaultRuntime, KernRuntime } from './runtime.js'; export type { Detection, ScanInfo, ScanResult } from './scanner.js'; export { formatScanSummary, generateConfigSource, scanProject } from './scanner.js'; export type { KernSchemaJSON, NodeSchema, PropKind, PropSchema, SchemaViolation } from './schema.js'; export { exportSchemaJSON, NODE_SCHEMAS, validateSchema } from './schema.js'; export type { BuildKernSemanticSubstrateOptions, KernSemanticCoreOperation, KernSemanticCoreType, KernSemanticIrContract, KernSemanticPrimitive, KernSemanticRagAnswerReviewFact, KernSemanticRagAnswerReviewStatus, KernSemanticStdlibOperation, KernSemanticSubstrate, KernSemanticSubstrateSource, KernSemanticSubstrateTarget, KernSemanticSupport, KernSemanticValidationSummary, } from './semantic-substrate.js'; export { buildKernSemanticSubstrate, lookupSemanticPrimitive, semanticPrimitiveSupportSummary, } from './semantic-substrate.js'; export type { ClassSemanticClassFact, ClassSemanticConstructorFact, ClassSemanticConstructorSuperStatus, ClassSemanticFacts, ClassSemanticImplementsEdge, ClassSemanticInheritanceEdge, ClassSemanticLocation, ClassSemanticMemberFact, ClassSemanticMemberKind, ClassSemanticOverrideFact, ClassSemanticOverrideStatus, ClassSemanticProtocolConformanceFact, ClassSemanticProtocolStatus, RagSemanticAnswerContractFact, RagSemanticAnswerEvidencePolicyFact, RagSemanticAnswerSpanFact, RagSemanticChunkingFact, RagSemanticCorpusFact, RagSemanticEmbedFact, RagSemanticEvalAssertFact, RagSemanticEvalCaseFact, RagSemanticEvalFact, RagSemanticFacts, RagSemanticGroundingFact, RagSemanticIndexFact, RagSemanticLocation, RagSemanticMcpRetrievalFact, RagSemanticPipelineFact, RagSemanticRetrieverFact, RagSemanticRuntimeRetrieveFact, RagSemanticSourceFact, RagSemanticVectorStoreFact, SemanticViolation, } from './semantic-validator.js'; export { collectClassSemanticFacts, collectRagSemanticFacts, RAG_MCP_RETRIEVE_OUTPUT_ITEM_SHAPE, RAG_MCP_RETRIEVE_OUTPUT_SHAPE, RAG_RUNTIME_RETRIEVE_OUTPUT_ITEM_SHAPE, RAG_RUNTIME_RETRIEVE_OUTPUT_SHAPE, validateClassSemantics, validateRagSemantics, validateSemantics, } from './semantic-validator.js'; export type { ShadowAnalyzeOptions, ShadowDiagnostic } from './shadow-analyzer.js'; export { analyzeShadow } from './shadow-analyzer.js'; export type { SourceMapV3 } from './source-map.js'; export { serializeSourceMap } from './source-map.js'; export { clearEvolvedTypes, getEvolvedTypes, isKnownNodeType, KERN_RESERVED, KERN_VERSION, NODE_TYPES, registerEvolvedType, STYLE_SHORTHANDS, unregisterEvolvedType, VALUE_SHORTHANDS, } from './spec.js'; export { expandStyleKey, expandStyles, expandStyleValue } from './styles-react.js'; export { colorToTw, DEFAULT_COLORS, pxToTw, stylesToTailwind } from './styles-tailwind.js'; export type { CatalogEntry } from './template-catalog.js'; export { COMMON_TEMPLATES, detectTemplates, TEMPLATE_CATALOG } from './template-catalog.js'; export { clearTemplates, expandTemplateNode, getTemplate, isTemplateNode, KernTemplateError, registerTemplate, templateCount, } from './template-engine.js'; export type { DecompileResult, DiagnosticCategory, DiagnosticOutcome, ExprObject, GeneratedArtifact, IRNode, IRSourceLocation, KernEngine, ParseDiagnostic, ParseDiagnosticSeverity, ParseErrorCode, ParseResult, SourceMapEntry, TemplateDefinition, TemplateImport, TemplateSlot, TemplateSlotType, TranspileDiagnostic, TranspileResult, } from './types.js'; export { isExprObject } from './types.js'; export type { AccountedEntry } from './utils.js'; export { accountNode, buildDiagnostics, camelKey, countTokens, escapeJsString, escapeJsx, escapeJsxAttr, escapeJsxText, serializeIR, } from './utils.js'; export type { BinaryOp, UnaryOp, ValueIR, ValueIRKind } from './value-ir.js'; export { isValueIR } from './value-ir.js'; export type { NextjsOutputRules, NextjsVersionProfile, ReactOutputRules, ReactVersionProfile, TailwindOutputRules, TailwindTokenRule, TailwindVersionProfile, VersionProfile, } from './version-adapters.js'; export { applyTailwindTokenRules, buildNextjsProfile, buildReactProfile, buildTailwindProfile, buildVersionProfile, } from './version-adapters.js'; export { detectVersionsFromPackageJson, parseMajorVersion, resolveNextjsMajor, resolveReactMajor, resolveTailwindMajor, } from './version-detect.js'; export type { Visitor, VisitorFn, VisitorMap, WalkContext } from './walk.js'; export { getNodeAtPosition, walkIR } from './walk.js';