/** * `@czap/core` — **LiteShip** primitives for the **CZAP** engine: boundaries, * tokens, styles, themes, signals, and working-deck coordination (compositor, * plan graph, ECS, capsule factory). * @module */ export { SignalInput, ThresholdValue, StateName, ContentAddress, IntegrityDigest, TokenRef, Millis } from './brands.js'; export type { HLC as HLCBrand } from './brands.js'; export type { CapsuleCommandDescriptor, CapsuleCommandInvocation, CapsuleCommandResult, CapsuleResultReceipt, CapsuleResultMetaKey, CommandAnnotations, CommandExecutionKind, CommandJsonSchema, WallClockTimestamp, } from './command.js'; export { fnv1a, fnv1aBytes } from './fnv.js'; export { schemaToJsonSchema } from './json-schema-from-schema.js'; export type { JsonSchemaObject, JsonSchemaFragment } from './json-schema-from-schema.js'; export { CanonicalCbor } from './cbor.js'; export type { Prettify, StateUnion, OutputsFor, BoundaryCrossing, EvaluateResult, EffectValue, EffectError, RequireAtLeastOne, DeepReadonly, } from './type-utils.js'; export { tupleMap } from './tuple.js'; export { Boundary, BoundarySpec } from './boundary.js'; export { type Clock, type ManualClock, systemClock, wallClock, fixedClock, manualClock } from './clock.js'; export { type Rng, systemRng, seededRng } from './rng.js'; export { rawIndexF32, EVALUATE_THRESHOLDS_SOURCE } from './boundary-f32.js'; export { projectionKeys, glslIdent, wgslIdent, PROJECTION_KEYS_SOURCE } from './projection.js'; export type { ProjectionKeys } from './projection.js'; export { BoundaryAttribute } from './boundary-attribute.js'; export { Token } from './token.js'; export type { TokenCategory } from './token.js'; export { Style } from './style.js'; export type { StyleLayer, ShadowLayer } from './style.js'; export { Theme } from './theme.js'; export { Component } from './component.js'; export type { SlotConfig } from './component.js'; export { Signal } from './signal.js'; export type { SignalSourceType, SignalSource } from './signal.js'; export { sourceToInput, inputToSource, inputSourceType } from './signal-input.js'; export { Easing, sampleRuntimeEasing, DEFAULT_MOTION_SPRING } from './easing.js'; export type { RuntimeEasing } from './easing.js'; export { Animation } from './animation.js'; export { interpolate, interpolateTyped, parseTypedBinding, formatTypedValue } from './interpolate.js'; export type { TypedValue, TransformPart, ColorSpace } from './interpolate.js'; export { interpretTransition } from './interpret-transition.js'; export type { LoweredMotionPlan, CssMotionPlan, RuntimeWritePlan, RuntimeWriteProperty, RuntimeWriteWindow, MotionPropertyTween, CssKeyframeStep, } from './interpret-transition.js'; export { lowerTransitionProgram, interpretProgram, sampleProgramWindows, sampleProgram, sampleProgramUniforms, } from './transition-program.js'; export type { TransitionProgram, TransitionBranch, BranchCondition, ProgramEnv, BranchGuard, ProgramTimelineEntry, LoweredProgramTimeline, ProgramSample, ProgramUniforms, } from './transition-program.js'; export { Reveal, lowerRevealIntent, lowerRevealChain, resolveRevealInitialState, ssrRevealPaint, motionPropToBinding, } from './reveal.js'; export type { RevealIntent, RevealIntentInput, RevealTrigger, RevealTransition, RevealPolicy, RevealReducedMotion, LoweredReveal, RevealSsrPaint, RevealChainInput, RevealChainStep, RevealChainBranch, LoweredRevealChain, } from './reveal.js'; export { Stagger, lowerStaggerIntent, resolveStaggerInitialState, staggerProgram } from './stagger.js'; export type { StaggerIntent, StaggerIntentInput, StaggerChild, LoweredStagger, LoweredStaggerItem } from './stagger.js'; export { ScrollTimeline, lowerScrollTimelineIntent, resolveScrollTimelineInitialState } from './scroll-timeline.js'; export type { ScrollTimelineIntent, ScrollTimelineIntentInput, ScrollTimelineAxis, LoweredScrollTimeline, } from './scroll-timeline.js'; export { ResponsiveMedia, selectCandidates, resolveResponsiveMedia, buildResponsiveSrcset, buildResponsiveImageSet, projectResponsiveMediaPicture, } from './responsive-media.js'; export type { ResponsiveMediaIntent, ResponsiveMediaIntentInput, ResponsiveMediaVariant, ResponsiveMediaCapabilities, ResponsiveMediaResolutionReason, ResolvedResponsiveMedia, ResponsiveMediaCandidateSet, ResponsiveMediaPictureProjection, } from './responsive-media.js'; export { StateCell, ProjectionState, StateCellStore } from './state-cell.js'; export type { StateAuthority, StateCellKind, StateCell as StateCellShape, StateResolutionReceipt, ProjectionState as ProjectionStateShape, ResolvedStateSnapshot, StateCellRegisterOptions, ProjectionStateOptions, StateCellStoreShape, } from './state-cell.js'; export { asReplayableRecoveryCell, signalSourceKind, signalPayloadKind, isReplayHtmlPatch, replayDroppedSignals, filterDiscreteSnapshotSignals, validateSnapshotSignalsField, } from './stream-recovery.js'; export type { ReplayableRecoveryCell } from './stream-recovery.js'; export { Timeline } from './timeline.js'; export type { Quantizer } from './quantizer-types.js'; export { Scheduler } from './scheduler.js'; export { Compositor } from './compositor.js'; export type { CompositeState, CompositorConfig } from './compositor.js'; export { CompositorStatePool } from './compositor-pool.js'; export { SpeculativeEvaluator } from './speculative.js'; export { TokenBuffer } from './token-buffer.js'; export { UIQuality } from './ui-quality.js'; export type { UIQualityTier, MotionTier } from './ui-quality.js'; export { GenFrame } from './gen-frame.js'; export type { UIFrame, FrameType, MorphStrategy, GapStrategy } from './gen-frame.js'; export { VideoRenderer, compositeStateToRgba } from './video.js'; export type { VideoConfig, VideoFrameOutput } from './video.js'; export type { CaptureConfig, CaptureFrame, FrameCapture, CaptureResult } from './capture.js'; export { BlendTree } from './blend.js'; export { FrameBudget } from './frame-budget.js'; export type { Priority } from './frame-budget.js'; export { DirtyFlags } from './dirty.js'; export type { CellKind, CellMeta, CellEnvelope } from './protocol.js'; export type { Entity, System, DenseSystem, DenseStore } from './ecs.js'; export { Part, World, EntityId } from './ecs.js'; export { Composable, ComposableWorld } from './composable.js'; export type { EntityComponents, ComposableEntity, ComposableWorldShape } from './composable.js'; export { Cell } from './cell.js'; export { Derived } from './derived.js'; export { Zap } from './zap.js'; export { Store } from './store.js'; export { Wire } from './wire.js'; export type { WireSocket } from './wire.js'; export { Op } from './op.js'; export type { CapTier, CapSet } from './caps.js'; export { Cap } from './caps.js'; export { LADDER_TARGETS, LADDER_RUNGS, projectLadder } from './cap-ladder.js'; export type { LadderTarget } from './cap-ladder.js'; export { chooseRung } from './escalation.js'; export type { RungChoice, EscalationResult } from './escalation.js'; export { HLC } from './hlc.js'; export { VectorClock } from './vector-clock.js'; export { TypedRef } from './typed-ref.js'; export type { ReceiptSubject, ReceiptEnvelope, ChainValidationError, ChainValidationOptions } from './receipt.js'; export { Receipt } from './receipt.js'; export type { DAGNode, ReceiptDAG, MergeResult, ForkViolation, CheckpointResult } from './dag.js'; export { DAG } from './dag.js'; export { Plan } from './plan.js'; export type { OpType, EdgeType } from './plan.js'; export type { DocumentGraph, DocumentGraphNode, DocumentGraphEdge, NodeFamily, RuntimeSite, SignalNode, EntityNode, ComponentNode, PoseNode, TransitionNode, ProjectionNode, PolicyNode, ExportNode, } from './document-graph.js'; export { sealNode, sealGraph, nodeFromParts, validateGraph, linearizeGraph, decodeDocumentGraph, } from './document-graph-address.js'; export type { DocumentGraphNodeParts } from './document-graph-address.js'; export { isWellFormedNode, DocumentGraphNodeSchema } from './document-graph-schema.js'; export { contentAddressOf, canonicalAddressBytes } from './content-address.js'; export { GraphPatch, nodeLogicalKey } from './graph-patch.js'; export type { PatchOp, NodePatchOp, EdgePatchOp } from './graph-patch.js'; export { AICast } from './ai-cast.js'; export type { AIContext, GraphSummary, ProposalSchema, CastContextOptions, ProposalResult, ProposalAcceptance, ProposalRejection, GeneratedUIValidator, } from './ai-cast.js'; export type { ValidatedProposal, ApplyToken, ProposalTarget } from './validated-output.js'; export { assertTokenBinds, unwrapValidated, proposalSubject, proposalReceiptSubject } from './validated-output.js'; export { handleGraphMutation, sendGraphMutation, verifyAppliedGraph } from './graph-mutation.js'; export type { GraphMutationRequest, GraphMutationResponse, GraphStore, AppliedGraphVerification, } from './graph-mutation.js'; export { createGraphMutationClient } from './graph-mutation-client.js'; export type { GraphMutationClient, GraphMutationClientOptions, GraphMutationOps } from './graph-mutation-client.js'; export { handleGraphQuery, sendGraphQuery, graphQueryEtag, normalizeGraphQueryEtag, parseGraphQueryEtagList, createGraphQueryRefreshBase, GRAPH_QUERY_FALLBACK_HEADER, } from './graph-query.js'; export type { GraphQueryRequest, GraphQueryResponse, GraphQueryEtagCandidates, SendGraphQueryOptions, } from './graph-query.js'; export { chainPatchesBetween, replayDiscreteFromPatchReceipts, runGraphNativeGapReplay, } from './graph-query-gap-replay.js'; export type { PatchReceiptEntry, ReplayDiscreteFromPatchReceiptsOptions, GraphNativeGapReplayOptions, GraphNativeGapReplayResult, } from './graph-query-gap-replay.js'; export { transitionReceipt, mintTransition, decodeDiscreteStateTransition, applyTransition, discreteTransitionSubjectId, discreteTransitionPayload, } from './state-transition.js'; export type { DiscreteStateTransition } from './state-transition.js'; export { RuntimeCoordinator } from './runtime-coordinator.js'; export type { RuntimePhase, RuntimeCoordinatorConfig } from './runtime-coordinator.js'; export { Codec } from './codec.js'; export { LiveCell } from './live-cell.js'; export { WASMDispatch } from './wasm-dispatch.js'; export type { WASMKernels, WASMDispatchAPI } from './wasm-dispatch.js'; export { fallbackKernels } from './wasm-fallback.js'; export { AVBridge } from './av-bridge.js'; export { AVRenderer } from './av-renderer.js'; export { DEFAULT_TARGET_FPS, MS_PER_SEC, SSE_BUFFER_SIZE, SSE_HEARTBEAT_MS, SSE_RECONNECT_INITIAL_MS, SSE_RECONNECT_MAX_MS, COMPOSITOR_POOL_CAP, DIRTY_FLAGS_MAX, WASM_SCRATCH_BASE, WASM_BATCH_MAX, CAPTURE_KEYFRAME_INTERVAL, EASING_SPRING_STEPS, THEME_TRANSITION_DURATION_MS, THEME_TRANSITION_EASING, CANVAS_FALLBACK_WIDTH, CANVAS_FALLBACK_HEIGHT, VIEWPORT, } from './defaults.js'; export { Diagnostics } from './diagnostics.js'; export type { DiagnosticEvent, DiagnosticLevel, DiagnosticPayload, DiagnosticsSink } from './diagnostics.js'; export { AddressedDigest } from './addressed-digest.js'; export { ShipCapsule } from './ship-capsule.js'; import type { Cell as _Cell } from './cell.js'; import type { Derived as _Derived } from './derived.js'; import type { Zap as _Zap } from './zap.js'; import type { Wire as _Wire } from './wire.js'; /** Union of the four reactive primitives the CZAP graph exposes to user code. */ export type Primitive = _Cell.Shape | _Derived.Shape | _Zap.Shape | _Wire.Shape; /** Narrow a {@link Primitive} to a {@link Cell}. */ export declare const isCell: (p: Primitive) => p is _Cell.Shape; /** Narrow a {@link Primitive} to a {@link Derived}. */ export declare const isDerived: (p: Primitive) => p is _Derived.Shape; /** Narrow a {@link Primitive} to a {@link Zap}. */ export declare const isZap: (p: Primitive) => p is _Zap.Shape; /** Narrow a {@link Primitive} to a {@link Wire}. */ export declare const isWire: (p: Primitive) => p is _Wire.Shape; export { Config, defineConfig } from './config.js'; export type { PrimitiveKind, PluginConfig as CorePluginConfig, AstroConfig as CoreAstroConfig } from './config.js'; export type { AssemblyKind, Site, CapabilityDecl, BudgetDecl, Invariant, AttributionDecl, CapsuleContract, Reason, Decision, } from './capsule.js'; export { TypeValidator } from './capsule.js'; export { defineCapsule, getCapsuleCatalog } from './assembly.js'; export type { CapsuleDef } from './assembly.js'; export { boundaryEvaluateCapsule } from './capsules/boundary-evaluate.js'; export { tokenBufferCapsule } from './capsules/token-buffer.js'; export { canonicalCborCapsule } from './capsules/canonical-cbor.js'; export { canonicalCborDecodeCapsule } from './capsules/canonical-cbor-decode.js'; export { graphPatchIdentityCapsule } from './capsules/graph-patch-identity.js'; export { escalationChooseRungCapsule } from './capsules/escalation-choose-rung.js'; export { documentGraphAddressCapsule } from './capsules/document-graph-address.js'; export { aiCastSummarizeCapsule } from './capsules/ai-cast-summarize.js'; export { aiCastProposalCapsule } from './capsules/ai-cast-proposal.js'; //# sourceMappingURL=index.d.ts.map