/** * CSL (Context Segmentation Layer) - Core Semántico * * @remarks * Este es el core semántico de CSL. Solo contiene: * - Funciones puras (sin estado) * - Value objects inmutables * - Tipos y excepciones * * **NO contiene:** * - Detección de prompt injection (va a ISL) * - Políticas (van a ISL) * - Anomaly scores (van a ISL) * - Normalización agresiva (va a ISL) * - Servicios con estado (van al SDK) */ export { segment } from './segment.js'; export { classifySource, classifyOrigin } from './classify.js'; export { initLineage, createLineageEntry } from './lineage.js'; export type { TrustLevel, Origin, LineageEntry, ContentHash } from './value-objects/index.js'; export { createTrustLevel, isTrusted, isSemiTrusted, isUntrusted, createOrigin, isDom, isUser, isSystem, isInjected, isUnknown, isNetworkFetched, isExternal, isSha256, isSha512, originMap, createContentHash, validateOriginMap } from './value-objects/index.js'; export { ClassificationError } from './exceptions/ClassificationError.js'; export { SegmentationError } from './exceptions/SegmentationError.js'; export { OriginType, TrustLevelType } from './types.js'; export type { HashAlgorithm, Source, CSLInput, CSLSegment, CSLResult } from './types.js'; export { generateId, splitByContextRules } from './utils.js'; //# sourceMappingURL=index.d.ts.map