// Public surface of the sium artifact. The sub-barrels (`core`, `types`, // `langs`) are already named — this file enumerates them at the top level for // ergonomic single-import use. Consumers who want a tighter import surface // can reach the sub-barrels directly via `$sium/core`, `$sium/types`, // `$sium/langs`. export { createEngineSium } from './engine-sium'; export type { EngineSium, EngineSiumOptions } from './engine-sium'; export { createSiumDiagnostics, emitSiumDiagnostic, issueDiagnosticMeta } from './diagnostics'; export { SIUM_MODULE, SIUM_DIAGNOSTIC_EVENTS } from './consts'; export { SIUM_ERR, SIUM_ERR_ASYNC_SCHEMA, SIUM_ERR_DISCRIMINATED_UNION, SIUM_ERR_DISCRIMINATED_UNION_MEMBER_MISSING_KEY, SIUM_ERR_DISCRIMINATED_UNION_MEMBER_NOT_LITERAL, SIUM_ERR_DISCRIMINATED_UNION_MEMBER_NOT_OBJECT, SIUM_ERR_ENCODE, SIUM_ERR_ENCODE_EXPECTS_ARRAY, SIUM_ERR_ENCODE_EXPECTS_OBJECT, SIUM_ERR_ENCODE_NO_MATCH, SIUM_ERR_LAZY_RESOLVING, SIUM_ERR_OBJECT_UTIL, SIUM_ERR_VALIDATION, SIUM_ERROR_MESSAGES, SIUM_LOG_MSG_RESOLVE_FALLBACK, SiumAsyncSchemaError, SiumDiscriminatedUnionError, SiumEncodeExpectsArrayError, SiumEncodeExpectsObjectError, SiumEncodeNoMatchError, SiumLazyResolvingError, SiumObjectUtilError, SiumValidationError, isSiumAsyncSchemaError, isSiumDiscriminatedUnionError, isSiumEncodeExpectsArrayError, isSiumEncodeExpectsObjectError, isSiumEncodeNoMatchError, isSiumLazyResolvingError, isSiumObjectUtilError, isSiumValidationError } from './errors'; export type { SiumDiscriminatedUnionFault } from './errors'; // core export { string, number, boolean, literal, enumOf, optional, nullable, defaulted, nullish, object, array, union, discriminated, tuple, record, pick, omit, partial, extend, merge, lazy, serializeSchema, countLeafFields, walkSchema, pipe, refine, transform, codec, meta, trim, toLowerCase, toUpperCase, min, max, length, regex, email, url, integer, cssLength, isCssLength, CSS_LENGTH_REGEX } from './core'; export type { SerializedSchema, SerializedShape, StandardSchemaV1, Schema, Step, Issue, Result, Ctx, SchemaKind, SchemaWrapper, SchemaEffect, SiumIntrospection, SiumShape, MetaAnnotations, RefineFailure } from './core'; // types (domain values) export { timeValue, timeRange, hour, minute, second, dayPeriod, dateValue, dateRange, year, month, day, coerceDate, colorValue, red, green, blue, hue, saturation, lightness, brightness, alpha, cssValue, parseCssValue, formatCssValue, isCssValue, CSS_UNITS, CSS_LENGTH_UNITS, CSS_ANGLE_UNITS, CSS_TIME_UNITS, CSS_RESOLUTION_UNITS, CSS_FREQUENCY_UNITS, CSS_FLEX_UNITS } from './types'; export type { CssUnit, CssValueParts, CssDimension, CssKeyword, CssValueOptions } from './types'; // langs export { ISSUE_CODES, resolve, siumLangs } from './langs'; export type { IssueCode } from './langs'; export type { SiumDiagnosticEvent, SiumDiagnosticMeta, SiumDiagnostics, SiumDiagnosticType } from './diagnostics';