af-motion 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/LICENSE +201 -0
- package/README.md +203 -3
- package/RELEASE_NOTES.md +115 -0
- package/bin/af-motion.js +16 -0
- package/bin/mcp-server.js +21 -0
- package/dist/3d/adapter.d.ts +29 -0
- package/dist/3d/assets/cache.d.ts +71 -0
- package/dist/3d/assets/index.d.ts +10 -0
- package/dist/3d/assets/inspection.d.ts +19 -0
- package/dist/3d/assets/loaders.d.ts +30 -0
- package/dist/3d/assets/manager.d.ts +69 -0
- package/dist/3d/assets/scene-integration.d.ts +23 -0
- package/dist/3d/assets/types.d.ts +80 -0
- package/dist/3d/assets/validation.d.ts +12 -0
- package/dist/3d/camera/index.d.ts +7 -0
- package/dist/3d/camera/presets.d.ts +8 -0
- package/dist/3d/camera/transitions.d.ts +19 -0
- package/dist/3d/camera/types.d.ts +37 -0
- package/dist/3d/camera/validation.d.ts +9 -0
- package/dist/3d/capabilities.d.ts +11 -0
- package/dist/3d/composition/fallback.d.ts +20 -0
- package/dist/3d/composition/generation.d.ts +24 -0
- package/dist/3d/composition/index.d.ts +12 -0
- package/dist/3d/composition/quality.d.ts +35 -0
- package/dist/3d/composition/recipes.d.ts +34 -0
- package/dist/3d/composition/types.d.ts +88 -0
- package/dist/3d/composition/unified.d.ts +18 -0
- package/dist/3d/environment/index.d.ts +6 -0
- package/dist/3d/environment/presets.d.ts +8 -0
- package/dist/3d/environment/types.d.ts +36 -0
- package/dist/3d/environment/validation.d.ts +9 -0
- package/dist/3d/geometry/cache.d.ts +37 -0
- package/dist/3d/geometry/generators.d.ts +24 -0
- package/dist/3d/geometry/hash.d.ts +10 -0
- package/dist/3d/geometry/index.d.ts +9 -0
- package/dist/3d/geometry/three-adapter.d.ts +15 -0
- package/dist/3d/geometry/types.d.ts +120 -0
- package/dist/3d/geometry/validation.d.ts +6 -0
- package/dist/3d/index.d.ts +32 -0
- package/dist/3d/interaction/camera-controls.d.ts +58 -0
- package/dist/3d/interaction/index.d.ts +8 -0
- package/dist/3d/interaction/manager.d.ts +61 -0
- package/dist/3d/interaction/presets.d.ts +9 -0
- package/dist/3d/interaction/raycaster.d.ts +20 -0
- package/dist/3d/interaction/types.d.ts +78 -0
- package/dist/3d/lighting/index.d.ts +6 -0
- package/dist/3d/lighting/presets.d.ts +8 -0
- package/dist/3d/lighting/types.d.ts +31 -0
- package/dist/3d/lighting/validation.d.ts +17 -0
- package/dist/3d/materials/bridge.d.ts +11 -0
- package/dist/3d/materials/index.d.ts +7 -0
- package/dist/3d/materials/presets.d.ts +9 -0
- package/dist/3d/materials/types.d.ts +43 -0
- package/dist/3d/materials/validation.d.ts +9 -0
- package/dist/3d/morphing/animator.d.ts +19 -0
- package/dist/3d/morphing/correspondence.d.ts +32 -0
- package/dist/3d/morphing/geometry.d.ts +28 -0
- package/dist/3d/morphing/index.d.ts +16 -0
- package/dist/3d/morphing/interpolation.d.ts +45 -0
- package/dist/3d/morphing/morph.d.ts +18 -0
- package/dist/3d/morphing/presets.d.ts +31 -0
- package/dist/3d/morphing/react.d.ts +29 -0
- package/dist/3d/morphing/topology.d.ts +34 -0
- package/dist/3d/morphing/types.d.ts +138 -0
- package/dist/3d/morphing/validation.d.ts +19 -0
- package/dist/3d/optimization/analysis.d.ts +14 -0
- package/dist/3d/optimization/colliders.d.ts +16 -0
- package/dist/3d/optimization/geometry.d.ts +22 -0
- package/dist/3d/optimization/hierarchy.d.ts +14 -0
- package/dist/3d/optimization/index.d.ts +33 -0
- package/dist/3d/optimization/lod.d.ts +13 -0
- package/dist/3d/optimization/materials.d.ts +12 -0
- package/dist/3d/optimization/recommendations.d.ts +13 -0
- package/dist/3d/optimization/skeleton.d.ts +20 -0
- package/dist/3d/optimization/types.d.ts +252 -0
- package/dist/3d/physics/benchmark.d.ts +76 -0
- package/dist/3d/physics/body/inertia.d.ts +61 -0
- package/dist/3d/physics/collision/ccd.d.ts +26 -0
- package/dist/3d/physics/collision/narrowphase.d.ts +15 -0
- package/dist/3d/physics/collision/shapes.d.ts +45 -0
- package/dist/3d/physics/constraints/advanced.d.ts +40 -0
- package/dist/3d/physics/constraints/solver.d.ts +34 -0
- package/dist/3d/physics/constraints/types.d.ts +106 -0
- package/dist/3d/physics/events.d.ts +34 -0
- package/dist/3d/physics/index.d.ts +29 -0
- package/dist/3d/physics/material.d.ts +27 -0
- package/dist/3d/physics/math.d.ts +79 -0
- package/dist/3d/physics/soft/cloth.d.ts +12 -0
- package/dist/3d/physics/soft/collision.d.ts +12 -0
- package/dist/3d/physics/soft/gpu.d.ts +19 -0
- package/dist/3d/physics/soft/pbd.d.ts +20 -0
- package/dist/3d/physics/soft/rope.d.ts +16 -0
- package/dist/3d/physics/soft/soft-body.d.ts +12 -0
- package/dist/3d/physics/soft/types.d.ts +212 -0
- package/dist/3d/physics/solver/integrators.d.ts +25 -0
- package/dist/3d/physics/solver/types.d.ts +28 -0
- package/dist/3d/physics/spatial/spatial-hash.d.ts +51 -0
- package/dist/3d/physics/types.d.ts +579 -0
- package/dist/3d/physics/world.d.ts +106 -0
- package/dist/3d/r3f.d.ts +34 -0
- package/dist/3d/scene.d.ts +8 -0
- package/dist/3d/schema.d.ts +739 -0
- package/dist/3d/schemas/ai-integration.d.ts +201 -0
- package/dist/3d/schemas/correction.d.ts +11 -0
- package/dist/3d/schemas/index.d.ts +12 -0
- package/dist/3d/schemas/schemas.d.ts +361 -0
- package/dist/3d/schemas/serialization.d.ts +22 -0
- package/dist/3d/schemas/types.d.ts +199 -0
- package/dist/3d/schemas/validation.d.ts +33 -0
- package/dist/3d/scroll/controller.d.ts +32 -0
- package/dist/3d/scroll/index.d.ts +6 -0
- package/dist/3d/scroll/presets.d.ts +9 -0
- package/dist/3d/scroll/types.d.ts +53 -0
- package/dist/3d/terrain/biomes.d.ts +18 -0
- package/dist/3d/terrain/chunks.d.ts +20 -0
- package/dist/3d/terrain/erosion.d.ts +15 -0
- package/dist/3d/terrain/heightmap.d.ts +27 -0
- package/dist/3d/terrain/index.d.ts +18 -0
- package/dist/3d/terrain/materials.d.ts +20 -0
- package/dist/3d/terrain/noise.d.ts +25 -0
- package/dist/3d/terrain/physics.d.ts +34 -0
- package/dist/3d/terrain/terrain.d.ts +12 -0
- package/dist/3d/terrain/types.d.ts +235 -0
- package/dist/3d/terrain/vegetation.d.ts +14 -0
- package/dist/3d/types.d.ts +176 -0
- package/dist/3d/world/hydrology.d.ts +12 -0
- package/dist/3d/world/index.d.ts +15 -0
- package/dist/3d/world/lighting.d.ts +16 -0
- package/dist/3d/world/pipeline.d.ts +20 -0
- package/dist/3d/world/population.d.ts +12 -0
- package/dist/3d/world/presets.d.ts +11 -0
- package/dist/3d/world/streaming.d.ts +13 -0
- package/dist/3d/world/types.d.ts +272 -0
- package/dist/3d/world/world.d.ts +64 -0
- package/dist/backgrounds/advanced-gradient.d.ts +32 -0
- package/dist/backgrounds/atmospheric-backgrounds.d.ts +79 -0
- package/dist/backgrounds/aurora.d.ts +24 -0
- package/dist/backgrounds/cosmic-background.d.ts +31 -0
- package/dist/backgrounds/energy-effects.d.ts +78 -0
- package/dist/backgrounds/floating-orbs.d.ts +26 -0
- package/dist/backgrounds/fluid-backgrounds.d.ts +72 -0
- package/dist/backgrounds/geometric-backgrounds.d.ts +78 -0
- package/dist/backgrounds/gradient.d.ts +20 -0
- package/dist/backgrounds/grid.d.ts +22 -0
- package/dist/backgrounds/internal/canvas-lifecycle.d.ts +29 -0
- package/dist/backgrounds/noise.d.ts +20 -0
- package/dist/backgrounds/particle-background.d.ts +37 -0
- package/dist/backgrounds/particle-field.d.ts +22 -0
- package/dist/backgrounds/spotlight.d.ts +20 -0
- package/dist/backgrounds/wave.d.ts +22 -0
- package/dist/catalogue.d.ts +227 -0
- package/dist/catalogue.js +4 -0
- package/dist/chunks/catalogue-ZmbeEdRo.js +59850 -0
- package/dist/chunks/core-animation-CeiI_TEe.js +1394 -0
- package/dist/chunks/motion-choreography-DC6LWvDk.js +4089 -0
- package/dist/chunks/pointer-capture-lrnKAl2I.js +158 -0
- package/dist/chunks/safe-json-D5j34GEB.js +62 -0
- package/dist/chunks/scroll-velocity-BNUHaS0-.js +904 -0
- package/dist/cli/commands/doctor.d.ts +9 -0
- package/dist/cli/commands/example.d.ts +9 -0
- package/dist/cli/commands/info.d.ts +8 -0
- package/dist/cli/commands/init.d.ts +9 -0
- package/dist/cli/commands/presets.d.ts +10 -0
- package/dist/cli/commands/validate.d.ts +9 -0
- package/dist/cli/index.d.ts +22 -0
- package/dist/cli/types.d.ts +115 -0
- package/dist/cli/utils/safety.d.ts +11 -0
- package/dist/cli/utils/templates.d.ts +16 -0
- package/dist/cli/utils/terminal.d.ts +29 -0
- package/dist/cli.js +825 -0
- package/dist/core/adaptive-motion.d.ts +100 -0
- package/dist/core/adaptive-quality/controller.d.ts +61 -0
- package/dist/core/adaptive-quality/index.d.ts +13 -0
- package/dist/core/adaptive-quality/metrics.d.ts +33 -0
- package/dist/core/adaptive-quality/policies.d.ts +40 -0
- package/dist/core/adaptive-quality/profile.d.ts +58 -0
- package/dist/core/adaptive-quality/react.d.ts +57 -0
- package/dist/core/adaptive-quality/recommendation.d.ts +12 -0
- package/dist/core/adaptive-quality/resolution.d.ts +22 -0
- package/dist/core/adaptive-quality/types.d.ts +362 -0
- package/dist/core/advanced-motion/adapters.d.ts +20 -0
- package/dist/core/advanced-motion/controller.d.ts +52 -0
- package/dist/core/advanced-motion/index.d.ts +12 -0
- package/dist/core/advanced-motion/recipes.d.ts +16 -0
- package/dist/core/advanced-motion/timeline.d.ts +35 -0
- package/dist/core/advanced-motion/types.d.ts +174 -0
- package/dist/core/advanced-motion/validation.d.ts +11 -0
- package/dist/core/agent-workflows/agent-registry.d.ts +21 -0
- package/dist/core/agent-workflows/agents/accessibility-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/composition-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/design-to-motion-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/index.d.ts +13 -0
- package/dist/core/agent-workflows/agents/motion-intelligence-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/performance-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/scene-generation-agent.d.ts +9 -0
- package/dist/core/agent-workflows/collaboration-planner.d.ts +38 -0
- package/dist/core/agent-workflows/collaboration-workflows.d.ts +83 -0
- package/dist/core/agent-workflows/communication.d.ts +29 -0
- package/dist/core/agent-workflows/conflict-resolver.d.ts +25 -0
- package/dist/core/agent-workflows/context.d.ts +36 -0
- package/dist/core/agent-workflows/execution-engine.d.ts +30 -0
- package/dist/core/agent-workflows/index.d.ts +20 -0
- package/dist/core/agent-workflows/orchestration-types.d.ts +144 -0
- package/dist/core/agent-workflows/orchestrator.d.ts +29 -0
- package/dist/core/agent-workflows/react.d.ts +71 -0
- package/dist/core/agent-workflows/shared-context.d.ts +36 -0
- package/dist/core/agent-workflows/task-planner.d.ts +42 -0
- package/dist/core/agent-workflows/templates.d.ts +14 -0
- package/dist/core/agent-workflows/tool-registry.d.ts +24 -0
- package/dist/core/agent-workflows/types.d.ts +167 -0
- package/dist/core/ai-ecosystem/capability-registry.d.ts +23 -0
- package/dist/core/ai-ecosystem/index.d.ts +13 -0
- package/dist/core/ai-ecosystem/pipeline.d.ts +19 -0
- package/dist/core/ai-ecosystem/provider.d.ts +19 -0
- package/dist/core/ai-ecosystem/types.d.ts +69 -0
- package/dist/core/ai-motion-intelligence/engine.d.ts +51 -0
- package/dist/core/ai-motion-intelligence/explanation-engine.d.ts +8 -0
- package/dist/core/ai-motion-intelligence/index.d.ts +15 -0
- package/dist/core/ai-motion-intelligence/intent-classifier.d.ts +14 -0
- package/dist/core/ai-motion-intelligence/knowledge-base.d.ts +12 -0
- package/dist/core/ai-motion-intelligence/provider.d.ts +31 -0
- package/dist/core/ai-motion-intelligence/quality-evaluator.d.ts +9 -0
- package/dist/core/ai-motion-intelligence/react.d.ts +14 -0
- package/dist/core/ai-motion-intelligence/recommendation-engine.d.ts +16 -0
- package/dist/core/ai-motion-intelligence/types.d.ts +134 -0
- package/dist/core/ai-motion-registry.d.ts +201 -0
- package/dist/core/animate.d.ts +57 -0
- package/dist/core/animation-intelligence/engine.d.ts +42 -0
- package/dist/core/animation-intelligence/index.d.ts +11 -0
- package/dist/core/animation-intelligence/intent.d.ts +15 -0
- package/dist/core/animation-intelligence/schema.d.ts +42 -0
- package/dist/core/animation-intelligence/scoring.d.ts +15 -0
- package/dist/core/animation-intelligence/types.d.ts +91 -0
- package/dist/core/animation-parallel.d.ts +37 -0
- package/dist/core/animation-presets.d.ts +56 -0
- package/dist/core/animation-sequence.d.ts +37 -0
- package/dist/core/animation-timeline.d.ts +46 -0
- package/dist/core/animation.d.ts +48 -0
- package/dist/core/built-in-palettes.d.ts +331 -0
- package/dist/core/choreography-intelligence/bridge.d.ts +43 -0
- package/dist/core/choreography-intelligence/generator.d.ts +11 -0
- package/dist/core/choreography-intelligence/index.d.ts +11 -0
- package/dist/core/choreography-intelligence/intent.d.ts +11 -0
- package/dist/core/choreography-intelligence/schema.d.ts +76 -0
- package/dist/core/choreography-intelligence/types.d.ts +87 -0
- package/dist/core/composition.d.ts +170 -0
- package/dist/core/configuration-corrector.d.ts +85 -0
- package/dist/core/design-intelligence.d.ts +199 -0
- package/dist/core/design-system.d.ts +206 -0
- package/dist/core/design-to-motion/design-analyzer.d.ts +13 -0
- package/dist/core/design-to-motion/engine.d.ts +34 -0
- package/dist/core/design-to-motion/generator.d.ts +16 -0
- package/dist/core/design-to-motion/index.d.ts +15 -0
- package/dist/core/design-to-motion/input-parser.d.ts +17 -0
- package/dist/core/design-to-motion/motion-planner.d.ts +11 -0
- package/dist/core/design-to-motion/presets.d.ts +11 -0
- package/dist/core/design-to-motion/react.d.ts +13 -0
- package/dist/core/design-to-motion/types.d.ts +221 -0
- package/dist/core/design-to-motion/validator.d.ts +13 -0
- package/dist/core/device-capabilities/classification.d.ts +25 -0
- package/dist/core/device-capabilities/detection.d.ts +27 -0
- package/dist/core/device-capabilities/graphics.d.ts +22 -0
- package/dist/core/device-capabilities/hardware.d.ts +27 -0
- package/dist/core/device-capabilities/index.d.ts +14 -0
- package/dist/core/device-capabilities/monitor.d.ts +19 -0
- package/dist/core/device-capabilities/react.d.ts +24 -0
- package/dist/core/device-capabilities/runtime.d.ts +11 -0
- package/dist/core/device-capabilities/scoring.d.ts +18 -0
- package/dist/core/device-capabilities/types.d.ts +171 -0
- package/dist/core/effect-composer.d.ts +41 -0
- package/dist/core/generation-pipeline.d.ts +135 -0
- package/dist/core/inertia.d.ts +30 -0
- package/dist/core/interactions/cursor-controller.d.ts +9 -0
- package/dist/core/interactions/custom-gestures.d.ts +28 -0
- package/dist/core/interactions/device-capabilities.d.ts +12 -0
- package/dist/core/interactions/drag-controller.d.ts +60 -0
- package/dist/core/interactions/errors.d.ts +13 -0
- package/dist/core/interactions/gesture-classifier.d.ts +43 -0
- package/dist/core/interactions/gesture-intelligence-controller.d.ts +9 -0
- package/dist/core/interactions/gesture-recognizers.d.ts +160 -0
- package/dist/core/interactions/gesture-sequence.d.ts +9 -0
- package/dist/core/interactions/index.d.ts +27 -0
- package/dist/core/interactions/input-normalizer.d.ts +8 -0
- package/dist/core/interactions/interaction-manager.d.ts +43 -0
- package/dist/core/interactions/keyboard-manager.d.ts +16 -0
- package/dist/core/interactions/magnetic-controller.d.ts +9 -0
- package/dist/core/interactions/magnetic-group.d.ts +11 -0
- package/dist/core/interactions/multitouch-controller.d.ts +62 -0
- package/dist/core/interactions/pointer-controller.d.ts +34 -0
- package/dist/core/interactions/pointer-tracker.d.ts +32 -0
- package/dist/core/interactions/prioritizer.d.ts +17 -0
- package/dist/core/interactions/touch-controller.d.ts +35 -0
- package/dist/core/interactions/types.d.ts +710 -0
- package/dist/core/layout/controller.d.ts +56 -0
- package/dist/core/layout/flip.d.ts +21 -0
- package/dist/core/layout/group.d.ts +46 -0
- package/dist/core/layout/index.d.ts +12 -0
- package/dist/core/layout/measure.d.ts +30 -0
- package/dist/core/layout/presets.d.ts +24 -0
- package/dist/core/layout/types.d.ts +189 -0
- package/dist/core/microinteractions/generator.d.ts +11 -0
- package/dist/core/microinteractions/index.d.ts +11 -0
- package/dist/core/microinteractions/intent.d.ts +11 -0
- package/dist/core/microinteractions/runtime.d.ts +25 -0
- package/dist/core/microinteractions/schema.d.ts +82 -0
- package/dist/core/microinteractions/types.d.ts +79 -0
- package/dist/core/motion-choreography.d.ts +163 -0
- package/dist/core/motion-dna.d.ts +129 -0
- package/dist/core/motion-path/animator.d.ts +13 -0
- package/dist/core/motion-path/engine.d.ts +27 -0
- package/dist/core/motion-path/follower.d.ts +8 -0
- package/dist/core/motion-path/index.d.ts +15 -0
- package/dist/core/motion-path/lut.d.ts +33 -0
- package/dist/core/motion-path/parser.d.ts +26 -0
- package/dist/core/motion-path/segments.d.ts +16 -0
- package/dist/core/motion-path/types.d.ts +178 -0
- package/dist/core/motion-path/vector3.d.ts +49 -0
- package/dist/core/motion-recipe.d.ts +171 -0
- package/dist/core/motion-states.d.ts +43 -0
- package/dist/core/motion-validation/consistency.d.ts +11 -0
- package/dist/core/motion-validation/index.d.ts +11 -0
- package/dist/core/motion-validation/optimizer.d.ts +11 -0
- package/dist/core/motion-validation/schema.d.ts +81 -0
- package/dist/core/motion-validation/types.d.ts +53 -0
- package/dist/core/motion-validation/validator.d.ts +11 -0
- package/dist/core/motion.d.ts +7 -0
- package/dist/core/natural-motion.d.ts +110 -0
- package/dist/core/palette-colors.d.ts +16 -0
- package/dist/core/palette-styles.d.ts +12 -0
- package/dist/core/palettes.d.ts +59 -0
- package/dist/core/performance-intelligence/conflicts.d.ts +21 -0
- package/dist/core/performance-intelligence/context.d.ts +48 -0
- package/dist/core/performance-intelligence/coordinator.d.ts +84 -0
- package/dist/core/performance-intelligence/decisions.d.ts +17 -0
- package/dist/core/performance-intelligence/history.d.ts +44 -0
- package/dist/core/performance-intelligence/index.d.ts +15 -0
- package/dist/core/performance-intelligence/policies.d.ts +59 -0
- package/dist/core/performance-intelligence/react.d.ts +78 -0
- package/dist/core/performance-intelligence/report.d.ts +16 -0
- package/dist/core/performance-intelligence/scoring.d.ts +16 -0
- package/dist/core/performance-intelligence/types.d.ts +203 -0
- package/dist/core/performance-optimizer/bottlenecks.d.ts +9 -0
- package/dist/core/performance-optimizer/index.d.ts +13 -0
- package/dist/core/performance-optimizer/optimizer.d.ts +43 -0
- package/dist/core/performance-optimizer/profiler.d.ts +38 -0
- package/dist/core/performance-optimizer/react.d.ts +55 -0
- package/dist/core/performance-optimizer/strategies.d.ts +22 -0
- package/dist/core/performance-optimizer/types.d.ts +227 -0
- package/dist/core/performance-optimizer/workers.d.ts +27 -0
- package/dist/core/physics/collision-constraints.d.ts +15 -0
- package/dist/core/physics/collision-detection.d.ts +93 -0
- package/dist/core/physics/collision-response.d.ts +24 -0
- package/dist/core/physics/collision-types.d.ts +381 -0
- package/dist/core/physics/collision-world.d.ts +11 -0
- package/dist/core/physics/composition-behaviors.d.ts +97 -0
- package/dist/core/physics/composition-choreography.d.ts +14 -0
- package/dist/core/physics/composition-engine.d.ts +25 -0
- package/dist/core/physics/composition-recipes.d.ts +46 -0
- package/dist/core/physics/composition-types.d.ts +265 -0
- package/dist/core/physics/composition-validation.d.ts +33 -0
- package/dist/core/physics/index.d.ts +37 -0
- package/dist/core/physics/inertia-animation.d.ts +11 -0
- package/dist/core/physics/inertia-math.d.ts +56 -0
- package/dist/core/physics/inertia-presets.d.ts +25 -0
- package/dist/core/physics/inertia-simulation.d.ts +11 -0
- package/dist/core/physics/inertia-types.d.ts +355 -0
- package/dist/core/physics/inertia-validation.d.ts +22 -0
- package/dist/core/physics/math.d.ts +99 -0
- package/dist/core/physics/presets.d.ts +28 -0
- package/dist/core/physics/simulation.d.ts +11 -0
- package/dist/core/physics/spring-animation.d.ts +11 -0
- package/dist/core/physics/spring-math.d.ts +47 -0
- package/dist/core/physics/spring-presets.d.ts +29 -0
- package/dist/core/physics/spring-simulation.d.ts +11 -0
- package/dist/core/physics/spring-types.d.ts +350 -0
- package/dist/core/physics/spring-validation.d.ts +22 -0
- package/dist/core/physics/stepper.d.ts +24 -0
- package/dist/core/physics/types.d.ts +280 -0
- package/dist/core/physics/validation.d.ts +62 -0
- package/dist/core/pointer-capture.d.ts +7 -0
- package/dist/core/reference-analysis/index.d.ts +10 -0
- package/dist/core/reference-analysis/interpreter.d.ts +12 -0
- package/dist/core/reference-analysis/planner.d.ts +15 -0
- package/dist/core/reference-analysis/specification.d.ts +14 -0
- package/dist/core/reference-analysis/types.d.ts +244 -0
- package/dist/core/resource-intelligence/cache.d.ts +43 -0
- package/dist/core/resource-intelligence/gpu.d.ts +19 -0
- package/dist/core/resource-intelligence/index.d.ts +16 -0
- package/dist/core/resource-intelligence/leaks.d.ts +13 -0
- package/dist/core/resource-intelligence/memory.d.ts +27 -0
- package/dist/core/resource-intelligence/pooling.d.ts +32 -0
- package/dist/core/resource-intelligence/pressure.d.ts +32 -0
- package/dist/core/resource-intelligence/react.d.ts +63 -0
- package/dist/core/resource-intelligence/registry.d.ts +33 -0
- package/dist/core/resource-intelligence/reports.d.ts +14 -0
- package/dist/core/resource-intelligence/types.d.ts +232 -0
- package/dist/core/scene-generation/engine.d.ts +31 -0
- package/dist/core/scene-generation/generator.d.ts +14 -0
- package/dist/core/scene-generation/index.d.ts +14 -0
- package/dist/core/scene-generation/input-parser.d.ts +24 -0
- package/dist/core/scene-generation/presets.d.ts +10 -0
- package/dist/core/scene-generation/react.d.ts +13 -0
- package/dist/core/scene-generation/scene-analyzer.d.ts +9 -0
- package/dist/core/scene-generation/scene-planner.d.ts +12 -0
- package/dist/core/scene-generation/types.d.ts +236 -0
- package/dist/core/scene-generation/validator.d.ts +18 -0
- package/dist/core/schema.d.ts +185 -0
- package/dist/core/scroll-intelligence/generator.d.ts +11 -0
- package/dist/core/scroll-intelligence/index.d.ts +11 -0
- package/dist/core/scroll-intelligence/intent.d.ts +11 -0
- package/dist/core/scroll-intelligence/runtime.d.ts +21 -0
- package/dist/core/scroll-intelligence/schema.d.ts +78 -0
- package/dist/core/scroll-intelligence/types.d.ts +85 -0
- package/dist/core/spring.d.ts +38 -0
- package/dist/core/svg-morph/animator.d.ts +10 -0
- package/dist/core/svg-morph/arc-to-cubic.d.ts +11 -0
- package/dist/core/svg-morph/index.d.ts +10 -0
- package/dist/core/svg-morph/interpolate.d.ts +23 -0
- package/dist/core/svg-morph/normalize.d.ts +34 -0
- package/dist/core/svg-morph/parser.d.ts +13 -0
- package/dist/core/svg-morph/shapes.d.ts +32 -0
- package/dist/core/svg-morph/types.d.ts +144 -0
- package/dist/core/transform.d.ts +27 -0
- package/dist/core/transitions/controller.d.ts +45 -0
- package/dist/core/transitions/engine.d.ts +26 -0
- package/dist/core/transitions/group-transition.d.ts +30 -0
- package/dist/core/transitions/index.d.ts +15 -0
- package/dist/core/transitions/presets.d.ts +16 -0
- package/dist/core/transitions/schema.d.ts +71 -0
- package/dist/core/transitions/shared-element-transition.d.ts +88 -0
- package/dist/core/transitions/shared-element.d.ts +84 -0
- package/dist/core/transitions/types.d.ts +185 -0
- package/dist/core/transitions/view-transition.d.ts +25 -0
- package/dist/core/typography/engine.d.ts +19 -0
- package/dist/core/typography/index.d.ts +15 -0
- package/dist/core/typography/path-motion.d.ts +24 -0
- package/dist/core/typography/presets.d.ts +14 -0
- package/dist/core/typography/properties.d.ts +19 -0
- package/dist/core/typography/segmenter.d.ts +32 -0
- package/dist/core/typography/stagger.d.ts +15 -0
- package/dist/core/typography/transitions.d.ts +11 -0
- package/dist/core/typography/types.d.ts +154 -0
- package/dist/core/utils/safe-json.d.ts +50 -0
- package/dist/core/visual-style-registry.d.ts +659 -0
- package/dist/easing/easings.d.ts +44 -0
- package/dist/effects/border-beam.d.ts +28 -0
- package/dist/effects/count-up.d.ts +30 -0
- package/dist/effects/cursor-trail.d.ts +23 -0
- package/dist/effects/drag.d.ts +41 -0
- package/dist/effects/draw-svg.d.ts +19 -0
- package/dist/effects/follow-pointer.d.ts +19 -0
- package/dist/effects/glow.d.ts +25 -0
- package/dist/effects/gradient-text.d.ts +22 -0
- package/dist/effects/hover-motion.d.ts +32 -0
- package/dist/effects/in-view.d.ts +14 -0
- package/dist/effects/magnetic.d.ts +40 -0
- package/dist/effects/morph-svg.d.ts +15 -0
- package/dist/effects/parallax.d.ts +42 -0
- package/dist/effects/pinch.d.ts +27 -0
- package/dist/effects/reveal.d.ts +33 -0
- package/dist/effects/ripple.d.ts +21 -0
- package/dist/effects/scroll-animate.d.ts +23 -0
- package/dist/effects/scroll-direction.d.ts +19 -0
- package/dist/effects/scroll-progress.d.ts +29 -0
- package/dist/effects/scroll-trigger.d.ts +22 -0
- package/dist/effects/scroll-velocity.d.ts +29 -0
- package/dist/effects/shine.d.ts +23 -0
- package/dist/effects/split-text.d.ts +17 -0
- package/dist/effects/spotlight.d.ts +24 -0
- package/dist/effects/stagger.d.ts +46 -0
- package/dist/effects/swipe.d.ts +27 -0
- package/dist/effects/text-highlight.d.ts +25 -0
- package/dist/effects/text-mask.d.ts +25 -0
- package/dist/effects/text-reveal.d.ts +28 -0
- package/dist/effects/text-scramble.d.ts +18 -0
- package/dist/effects/tilt.d.ts +42 -0
- package/dist/effects/typewriter.d.ts +26 -0
- package/dist/graphics/capabilities.d.ts +12 -0
- package/dist/graphics/composition/engine.d.ts +14 -0
- package/dist/graphics/composition/fallback.d.ts +13 -0
- package/dist/graphics/composition/index.d.ts +10 -0
- package/dist/graphics/composition/ordering.d.ts +29 -0
- package/dist/graphics/composition/quality.d.ts +24 -0
- package/dist/graphics/composition/schema.d.ts +156 -0
- package/dist/graphics/composition/types.d.ts +81 -0
- package/dist/graphics/composition/unified.d.ts +23 -0
- package/dist/graphics/effects/advanced/engine.d.ts +9 -0
- package/dist/graphics/effects/advanced/index.d.ts +1 -0
- package/dist/graphics/effects/composer.d.ts +9 -0
- package/dist/graphics/effects/distortion/engine.d.ts +9 -0
- package/dist/graphics/effects/distortion/index.d.ts +1 -0
- package/dist/graphics/effects/fluid/engine.d.ts +9 -0
- package/dist/graphics/effects/fluid/index.d.ts +1 -0
- package/dist/graphics/effects/index.d.ts +10 -0
- package/dist/graphics/effects/particles/engine.d.ts +9 -0
- package/dist/graphics/effects/particles/index.d.ts +2 -0
- package/dist/graphics/effects/particles/pool.d.ts +17 -0
- package/dist/graphics/effects/schema.d.ts +312 -0
- package/dist/graphics/effects/types.d.ts +85 -0
- package/dist/graphics/engine.d.ts +5 -0
- package/dist/graphics/environment/clouds.d.ts +28 -0
- package/dist/graphics/environment/environment.d.ts +50 -0
- package/dist/graphics/environment/fire-smoke.d.ts +32 -0
- package/dist/graphics/environment/fog.d.ts +28 -0
- package/dist/graphics/environment/index.d.ts +18 -0
- package/dist/graphics/environment/lightning.d.ts +33 -0
- package/dist/graphics/environment/rain.d.ts +33 -0
- package/dist/graphics/environment/snow.d.ts +30 -0
- package/dist/graphics/environment/types.d.ts +184 -0
- package/dist/graphics/environment/weather.d.ts +19 -0
- package/dist/graphics/environment/wind.d.ts +23 -0
- package/dist/graphics/fluid/flow-field.d.ts +74 -0
- package/dist/graphics/fluid/grid.d.ts +43 -0
- package/dist/graphics/fluid/index.d.ts +13 -0
- package/dist/graphics/fluid/interactions.d.ts +39 -0
- package/dist/graphics/fluid/rendering.d.ts +32 -0
- package/dist/graphics/fluid/simulation.d.ts +50 -0
- package/dist/graphics/fluid/solver.d.ts +19 -0
- package/dist/graphics/fluid/types.d.ts +186 -0
- package/dist/graphics/gpu-simulation/backends/backend.d.ts +24 -0
- package/dist/graphics/gpu-simulation/backends/cpu.d.ts +21 -0
- package/dist/graphics/gpu-simulation/backends/selection.d.ts +15 -0
- package/dist/graphics/gpu-simulation/backends/webgl2.d.ts +28 -0
- package/dist/graphics/gpu-simulation/backends/webgpu.d.ts +23 -0
- package/dist/graphics/gpu-simulation/capabilities.d.ts +14 -0
- package/dist/graphics/gpu-simulation/device.d.ts +17 -0
- package/dist/graphics/gpu-simulation/engine.d.ts +8 -0
- package/dist/graphics/gpu-simulation/index.d.ts +22 -0
- package/dist/graphics/gpu-simulation/ping-pong.d.ts +23 -0
- package/dist/graphics/gpu-simulation/pipeline.d.ts +18 -0
- package/dist/graphics/gpu-simulation/resource-manager.d.ts +8 -0
- package/dist/graphics/gpu-simulation/shaders.d.ts +50 -0
- package/dist/graphics/gpu-simulation/types.d.ts +288 -0
- package/dist/graphics/index.d.ts +23 -0
- package/dist/graphics/materials/glass.d.ts +22 -0
- package/dist/graphics/materials/index.d.ts +9 -0
- package/dist/graphics/materials/lighting.d.ts +22 -0
- package/dist/graphics/materials/presets.d.ts +28 -0
- package/dist/graphics/materials/schema.d.ts +574 -0
- package/dist/graphics/materials/surface.d.ts +13 -0
- package/dist/graphics/materials/types.d.ts +150 -0
- package/dist/graphics/particle-fields/composition.d.ts +32 -0
- package/dist/graphics/particle-fields/forces.d.ts +103 -0
- package/dist/graphics/particle-fields/index.d.ts +12 -0
- package/dist/graphics/particle-fields/interaction.d.ts +32 -0
- package/dist/graphics/particle-fields/spatial-index.d.ts +20 -0
- package/dist/graphics/particle-fields/system.d.ts +52 -0
- package/dist/graphics/particle-fields/types.d.ts +138 -0
- package/dist/graphics/particles/behaviors.d.ts +11 -0
- package/dist/graphics/particles/controller.d.ts +82 -0
- package/dist/graphics/particles/data-layout.d.ts +51 -0
- package/dist/graphics/particles/emitters.d.ts +24 -0
- package/dist/graphics/particles/index.d.ts +15 -0
- package/dist/graphics/particles/random.d.ts +25 -0
- package/dist/graphics/particles/rendering.d.ts +16 -0
- package/dist/graphics/particles/simulation.d.ts +23 -0
- package/dist/graphics/particles/types.d.ts +282 -0
- package/dist/graphics/renderer.d.ts +66 -0
- package/dist/graphics/resource-manager.d.ts +6 -0
- package/dist/graphics/schema.d.ts +177 -0
- package/dist/graphics/simulation/adapters.d.ts +36 -0
- package/dist/graphics/simulation/coordinator.d.ts +64 -0
- package/dist/graphics/simulation/index.d.ts +11 -0
- package/dist/graphics/simulation/optimizer.d.ts +101 -0
- package/dist/graphics/simulation/resource-manager.d.ts +40 -0
- package/dist/graphics/simulation/types.d.ts +126 -0
- package/dist/graphics/textures/cache.d.ts +29 -0
- package/dist/graphics/textures/canvas-utils.d.ts +31 -0
- package/dist/graphics/textures/engine.d.ts +34 -0
- package/dist/graphics/textures/generators.d.ts +29 -0
- package/dist/graphics/textures/index.d.ts +11 -0
- package/dist/graphics/textures/material-integration.d.ts +20 -0
- package/dist/graphics/textures/prng.d.ts +27 -0
- package/dist/graphics/textures/schema.d.ts +219 -0
- package/dist/graphics/textures/types.d.ts +80 -0
- package/dist/graphics/types.d.ts +152 -0
- package/dist/graphics/viewport.d.ts +32 -0
- package/dist/index.d.ts +132 -0
- package/dist/index.js +4921 -0
- package/dist/mcp/index.d.ts +12 -0
- package/dist/mcp/prompts.d.ts +9 -0
- package/dist/mcp/resources.d.ts +9 -0
- package/dist/mcp/server.d.ts +29 -0
- package/dist/mcp/tools.d.ts +9 -0
- package/dist/mcp/transport.d.ts +33 -0
- package/dist/mcp/types.d.ts +96 -0
- package/dist/presets.d.ts +176 -0
- package/dist/presets.js +3 -0
- package/dist/react.d.ts +5358 -0
- package/dist/react.js +7557 -0
- package/package.json +112 -6
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { AnimateTarget } from "../core/animate.js";
|
|
2
|
+
export type FluidBackgroundEffect = "liquid-blobs" | "fluid-waves" | "liquid-gradient" | "ink-flow" | "metaballs";
|
|
3
|
+
export type FluidWaveDirection = "horizontal" | "vertical";
|
|
4
|
+
export interface FluidBackgroundBaseOptions {
|
|
5
|
+
/** Visual treatment. Defaults to "liquid-blobs". */
|
|
6
|
+
effect?: FluidBackgroundEffect;
|
|
7
|
+
/** CSS colors for the effect, or palette primary/secondary/accent colors. */
|
|
8
|
+
colors?: readonly string[];
|
|
9
|
+
/** Registered built-in/custom palette name, or "active" to follow active palette changes. */
|
|
10
|
+
palette?: string;
|
|
11
|
+
/** Animation speed multiplier. Set to 0 for a static scene. Defaults to 1. */
|
|
12
|
+
speed?: number;
|
|
13
|
+
/** Overall effect intensity from 0 to 1. Defaults to 0.75. */
|
|
14
|
+
intensity?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface LiquidBlobsOptions extends FluidBackgroundBaseOptions {
|
|
17
|
+
effect?: "liquid-blobs";
|
|
18
|
+
/** Number of moving blobs from 1 to 32. Defaults to 5. */
|
|
19
|
+
count?: number;
|
|
20
|
+
/** Average blob radius in CSS pixels. Defaults to 100. */
|
|
21
|
+
size?: number;
|
|
22
|
+
/** Soft edge width in CSS pixels. Defaults to 32. */
|
|
23
|
+
blur?: number;
|
|
24
|
+
}
|
|
25
|
+
export interface FluidWavesOptions extends FluidBackgroundBaseOptions {
|
|
26
|
+
effect: "fluid-waves";
|
|
27
|
+
/** Wave height in CSS pixels. Defaults to 36. */
|
|
28
|
+
amplitude?: number;
|
|
29
|
+
/** Number of wave cycles across the canvas. Defaults to 2.5. */
|
|
30
|
+
frequency?: number;
|
|
31
|
+
/** Axis along which the wave layers travel. Defaults to "horizontal". */
|
|
32
|
+
direction?: FluidWaveDirection;
|
|
33
|
+
/** Number of layered wave bands from 1 to 8. Defaults to 4. */
|
|
34
|
+
layers?: number;
|
|
35
|
+
}
|
|
36
|
+
export interface LiquidGradientOptions extends FluidBackgroundBaseOptions {
|
|
37
|
+
effect: "liquid-gradient";
|
|
38
|
+
/** Number of softly blended color fields from 2 to 12. Defaults to 5. */
|
|
39
|
+
count?: number;
|
|
40
|
+
/** Field radius as a fraction of the canvas's longest side, from 0.1 to 1.5. Defaults to 0.65. */
|
|
41
|
+
scale?: number;
|
|
42
|
+
}
|
|
43
|
+
export interface InkFlowOptions extends FluidBackgroundBaseOptions {
|
|
44
|
+
effect: "ink-flow";
|
|
45
|
+
/** Number of organic ink forms from 1 to 16. Defaults to 5. */
|
|
46
|
+
count?: number;
|
|
47
|
+
/** Average form radius in CSS pixels. Defaults to 80. */
|
|
48
|
+
size?: number;
|
|
49
|
+
/** Spread of each form as a fraction of the canvas, from 0.05 to 0.75. Defaults to 0.3. */
|
|
50
|
+
spread?: number;
|
|
51
|
+
}
|
|
52
|
+
export interface MetaballsOptions extends FluidBackgroundBaseOptions {
|
|
53
|
+
effect: "metaballs";
|
|
54
|
+
/** Number of moving blobs from 1 to 24. Defaults to 6. */
|
|
55
|
+
count?: number;
|
|
56
|
+
/** Average blob radius in CSS pixels. Defaults to 64. */
|
|
57
|
+
radius?: number;
|
|
58
|
+
/** Link proximity multiplier from 1 to 4. Defaults to 1.8. */
|
|
59
|
+
threshold?: number;
|
|
60
|
+
/** Motion range multiplier from 0 to 2. Defaults to 1. */
|
|
61
|
+
movement?: number;
|
|
62
|
+
}
|
|
63
|
+
export type FluidBackgroundOptions = LiquidBlobsOptions | FluidWavesOptions | LiquidGradientOptions | InkFlowOptions | MetaballsOptions | FluidBackgroundBaseOptions;
|
|
64
|
+
export interface FluidBackgroundControls {
|
|
65
|
+
/** Stops animation, removes the canvas, and restores target styles. Safe to repeat. */
|
|
66
|
+
destroy(): void;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Draws efficient layered Canvas fluid effects without per-pixel simulation.
|
|
70
|
+
* The API shares palette, resize, reduced-motion, visibility, and cleanup handling.
|
|
71
|
+
*/
|
|
72
|
+
export declare function fluidBackground(target: AnimateTarget, options?: FluidBackgroundOptions): FluidBackgroundControls;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { AnimateTarget } from "../core/animate.js";
|
|
2
|
+
export type GeometricBackgroundEffect = "grid" | "tech-circuit" | "polygon-mesh" | "hexagon-field" | "perspective-floor";
|
|
3
|
+
export type GeometricGridShape = "square" | "dot" | "diamond" | "hexagon";
|
|
4
|
+
export interface GeometricBackgroundBaseOptions {
|
|
5
|
+
/** Visual treatment. Defaults to "grid". */
|
|
6
|
+
effect?: GeometricBackgroundEffect;
|
|
7
|
+
/** CSS colors for the geometry, or palette primary/secondary/accent colors. */
|
|
8
|
+
colors?: readonly string[];
|
|
9
|
+
/** Registered built-in/custom palette name, or "active" to follow active palette changes. */
|
|
10
|
+
palette?: string;
|
|
11
|
+
/** Animation speed multiplier. Set to 0 for a static scene. Defaults to 1. */
|
|
12
|
+
speed?: number;
|
|
13
|
+
/** Overall intensity from 0 to 1. Defaults to 0.65. */
|
|
14
|
+
intensity?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface GeometricGridOptions extends GeometricBackgroundBaseOptions {
|
|
17
|
+
effect?: "grid";
|
|
18
|
+
/** Grid geometry. Defaults to "square". */
|
|
19
|
+
shape?: GeometricGridShape;
|
|
20
|
+
/** Distance between grid points/lines in CSS pixels. Defaults to 48. */
|
|
21
|
+
spacing?: number;
|
|
22
|
+
/** Grid line width or dot radius in CSS pixels. Defaults to 1. */
|
|
23
|
+
lineWeight?: number;
|
|
24
|
+
/** Layer opacity from 0 to 1. Defaults to 0.35. */
|
|
25
|
+
opacity?: number;
|
|
26
|
+
/** Perspective strength from 0 (flat) to 1 (strong convergence). Defaults to 0. */
|
|
27
|
+
perspective?: number;
|
|
28
|
+
}
|
|
29
|
+
export interface TechCircuitOptions extends GeometricBackgroundBaseOptions {
|
|
30
|
+
effect: "tech-circuit";
|
|
31
|
+
/** Circuit trace spacing in CSS pixels. Defaults to 72. */
|
|
32
|
+
spacing?: number;
|
|
33
|
+
/** Relative path/node density from 0.1 to 3. Defaults to 1. */
|
|
34
|
+
density?: number;
|
|
35
|
+
/** Circuit stroke width in CSS pixels. Defaults to 1.25. */
|
|
36
|
+
lineWeight?: number;
|
|
37
|
+
}
|
|
38
|
+
export interface PolygonMeshOptions extends GeometricBackgroundBaseOptions {
|
|
39
|
+
effect: "polygon-mesh";
|
|
40
|
+
/** Approximate distance between mesh vertices in CSS pixels. Defaults to 96. */
|
|
41
|
+
spacing?: number;
|
|
42
|
+
/** Vertex displacement from the regular lattice, from 0 to 1. Defaults to 0.2. */
|
|
43
|
+
irregularity?: number;
|
|
44
|
+
/** Maximum mesh-link distance in multiples of spacing. Defaults to 1.55. */
|
|
45
|
+
connectionRange?: number;
|
|
46
|
+
/** Mesh stroke width in CSS pixels. Defaults to 1. */
|
|
47
|
+
lineWeight?: number;
|
|
48
|
+
}
|
|
49
|
+
export interface HexagonFieldOptions extends GeometricBackgroundBaseOptions {
|
|
50
|
+
effect: "hexagon-field";
|
|
51
|
+
/** Horizontal distance between hexagon centers in CSS pixels. Defaults to 56. */
|
|
52
|
+
spacing?: number;
|
|
53
|
+
/** Hexagon stroke width in CSS pixels. Defaults to 1. */
|
|
54
|
+
lineWeight?: number;
|
|
55
|
+
/** Whether the pattern has subtle continuous movement. Defaults to false. */
|
|
56
|
+
animate?: boolean;
|
|
57
|
+
}
|
|
58
|
+
export interface PerspectiveFloorOptions extends GeometricBackgroundBaseOptions {
|
|
59
|
+
effect: "perspective-floor";
|
|
60
|
+
/** Floor grid spacing in CSS pixels. Defaults to 48. */
|
|
61
|
+
spacing?: number;
|
|
62
|
+
/** Vertical location of the horizon from 0 (top) to 0.9 (near bottom). Defaults to 0.38. */
|
|
63
|
+
horizon?: number;
|
|
64
|
+
/** Animated floor movement multiplier from 0 to 5. Defaults to 1. */
|
|
65
|
+
movement?: number;
|
|
66
|
+
/** Perspective grid line width in CSS pixels. Defaults to 1. */
|
|
67
|
+
lineWeight?: number;
|
|
68
|
+
}
|
|
69
|
+
export type GeometricBackgroundOptions = GeometricGridOptions | TechCircuitOptions | PolygonMeshOptions | HexagonFieldOptions | PerspectiveFloorOptions | GeometricBackgroundBaseOptions;
|
|
70
|
+
export interface GeometricBackgroundControls {
|
|
71
|
+
/** Stops animation, removes the canvas, and restores target styles. Safe to repeat. */
|
|
72
|
+
destroy(): void;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Renders one of five Canvas geometric backgrounds with shared responsive,
|
|
76
|
+
* reduced-motion-aware, palette-aware lifecycle management.
|
|
77
|
+
*/
|
|
78
|
+
export declare function geometricBackground(target: AnimateTarget, options?: GeometricBackgroundOptions): GeometricBackgroundControls;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AnimateTarget } from "../core/animate.js";
|
|
2
|
+
export interface GradientBackgroundOptions {
|
|
3
|
+
/** CSS colors used in the gradient. Defaults to a violet/cyan/pink palette. */
|
|
4
|
+
colors?: readonly string[];
|
|
5
|
+
/** Gradient angle in degrees. Defaults to 135. */
|
|
6
|
+
angle?: number;
|
|
7
|
+
/** Duration of one animation cycle in seconds. Set to 0 for a static gradient. Defaults to 8. */
|
|
8
|
+
speed?: number;
|
|
9
|
+
/** Gradient opacity between 0 and 1. Defaults to 0.8. */
|
|
10
|
+
opacity?: number;
|
|
11
|
+
}
|
|
12
|
+
export interface GradientBackgroundControls {
|
|
13
|
+
/** Removes the gradient, keyframes and any temporary target styles. Safe to repeat. */
|
|
14
|
+
destroy(): void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Adds a smooth CSS gradient behind each target. A positive speed animates the gradient;
|
|
18
|
+
* speed 0 or a reduced-motion preference displays it statically.
|
|
19
|
+
*/
|
|
20
|
+
export declare function gradientBackground(target: AnimateTarget, options?: GradientBackgroundOptions): GradientBackgroundControls;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AnimateTarget } from "../core/animate.js";
|
|
2
|
+
export interface GridBackgroundOptions {
|
|
3
|
+
/** CSS color used for the grid lines. Defaults to violet. */
|
|
4
|
+
color?: string;
|
|
5
|
+
/** Distance between grid lines in pixels. Must be > 0. Defaults to 40. */
|
|
6
|
+
cellSize?: number;
|
|
7
|
+
/** Grid line thickness in pixels. Must be > 0 and no larger than cellSize. Defaults to 1. */
|
|
8
|
+
lineWidth?: number;
|
|
9
|
+
/** Grid opacity between 0 and 1. Defaults to 0.25. */
|
|
10
|
+
opacity?: number;
|
|
11
|
+
/** Duration of one subtle animation cycle in seconds. Set to 0 for a static grid. Defaults to 0. */
|
|
12
|
+
speed?: number;
|
|
13
|
+
}
|
|
14
|
+
export interface GridBackgroundControls {
|
|
15
|
+
/** Removes the grid, keyframes and temporary target styles. Safe to repeat. */
|
|
16
|
+
destroy(): void;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Adds a responsive CSS grid overlay behind target content. Positive speed subtly shifts
|
|
20
|
+
* the grid using CSS keyframes; zero speed or reduced motion keeps it static.
|
|
21
|
+
*/
|
|
22
|
+
export declare function gridBackground(target: AnimateTarget, options?: GridBackgroundOptions): GridBackgroundControls;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface CanvasBackgroundState {
|
|
2
|
+
readonly element: HTMLElement;
|
|
3
|
+
readonly canvas: HTMLCanvasElement;
|
|
4
|
+
readonly context: CanvasRenderingContext2D;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
}
|
|
8
|
+
export interface MotionFrameSchedulerOptions<T> {
|
|
9
|
+
readonly speed: number;
|
|
10
|
+
readonly animated: boolean;
|
|
11
|
+
readonly errorName: string;
|
|
12
|
+
readonly update: (state: T, elapsedSeconds: number, time: number) => void;
|
|
13
|
+
readonly renderStatic: () => void;
|
|
14
|
+
}
|
|
15
|
+
export interface MotionFrameScheduler<T> {
|
|
16
|
+
readonly isReducedMotion: boolean;
|
|
17
|
+
setVisible(state: T, visible: boolean): void;
|
|
18
|
+
destroy(): void;
|
|
19
|
+
}
|
|
20
|
+
export declare function resolveBackgroundColors(name: string | undefined, fallback: readonly string[]): readonly string[];
|
|
21
|
+
export declare function subscribeToActiveBackgroundPalette(name: string | undefined, fallback: readonly string[], onColors: (colors: readonly string[]) => void): () => void;
|
|
22
|
+
export declare function validateBackgroundColors(colors: readonly string[]): void;
|
|
23
|
+
export declare function resizeCanvasToElement(state: CanvasBackgroundState, width: number, height: number): void;
|
|
24
|
+
export declare function releaseBackgroundCanvas(canvas: HTMLCanvasElement): void;
|
|
25
|
+
export declare function insertBackgroundElement(container: HTMLElement, child: HTMLElement | SVGElement): void;
|
|
26
|
+
export declare function removeBackgroundElement(container: HTMLElement, child: HTMLElement | SVGElement): void;
|
|
27
|
+
export declare function acquireBackgroundTarget(element: HTMLElement, backgroundElement?: HTMLElement | SVGElement): void;
|
|
28
|
+
export declare function releaseBackgroundTarget(element: HTMLElement, backgroundElement?: HTMLElement | SVGElement): void;
|
|
29
|
+
export declare function createMotionFrameScheduler<T>(options: MotionFrameSchedulerOptions<T>): MotionFrameScheduler<T>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AnimateTarget } from "../core/animate.js";
|
|
2
|
+
export interface NoiseBackgroundOptions {
|
|
3
|
+
/** Noise alpha amplitude between 0 and 1. Defaults to 0.15. */
|
|
4
|
+
intensity?: number;
|
|
5
|
+
/** Noise grain size in CSS pixels. Must be > 0. Defaults to 1. */
|
|
6
|
+
scale?: number;
|
|
7
|
+
/** Texture refreshes per second. Set to 0 for static noise. Defaults to 0. */
|
|
8
|
+
speed?: number;
|
|
9
|
+
/** Overlay opacity between 0 and 1. Defaults to 0.25. */
|
|
10
|
+
opacity?: number;
|
|
11
|
+
}
|
|
12
|
+
export interface NoiseBackgroundControls {
|
|
13
|
+
/** Stops rendering, disconnects resize observation, and removes the overlay. Safe to repeat. */
|
|
14
|
+
destroy(): void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Adds a procedural canvas noise overlay behind target content. `speed` controls texture
|
|
18
|
+
* refreshes per second; zero or reduced motion keeps the initial texture static.
|
|
19
|
+
*/
|
|
20
|
+
export declare function noiseBackground(target: AnimateTarget, options?: NoiseBackgroundOptions): NoiseBackgroundControls;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { AnimateTarget } from "../core/animate.js";
|
|
2
|
+
export type ParticleBackgroundMode = "floating" | "network" | "cursor" | "constellation";
|
|
3
|
+
export interface ParticleBackgroundOptions {
|
|
4
|
+
/** Rendering style. Defaults to "floating". */
|
|
5
|
+
mode?: ParticleBackgroundMode;
|
|
6
|
+
/** Fixed number of particles per target; exclusive with density. Defaults to 60. */
|
|
7
|
+
count?: number;
|
|
8
|
+
/** Particles per 10,000 CSS square pixels; overrides the default count. Capped at 1,000 per target. */
|
|
9
|
+
density?: number;
|
|
10
|
+
/** CSS colors used when no palette is selected. Defaults to violet and cyan. */
|
|
11
|
+
colors?: readonly string[];
|
|
12
|
+
/** Registered built-in/custom palette name, or "active" to follow active palette changes. */
|
|
13
|
+
palette?: string;
|
|
14
|
+
/** Particle movement multiplier. Set to 0 for a static background. Defaults to 1. */
|
|
15
|
+
speed?: number;
|
|
16
|
+
/** Particle radius in CSS pixels. Defaults to 2. */
|
|
17
|
+
size?: number;
|
|
18
|
+
/** Particle opacity from 0 to 1. Defaults to 0.8. */
|
|
19
|
+
opacity?: number;
|
|
20
|
+
/** Maximum distance in CSS pixels for network and constellation connections. Defaults to 120. */
|
|
21
|
+
connectionDistance?: number;
|
|
22
|
+
/** Enables pointer response. Defaults to true for cursor mode and false otherwise. */
|
|
23
|
+
pointerInteraction?: boolean;
|
|
24
|
+
/** Pointer response radius in CSS pixels. Defaults to 120. */
|
|
25
|
+
pointerRadius?: number;
|
|
26
|
+
/** Pointer acceleration in CSS pixels per second squared. Defaults to 180. */
|
|
27
|
+
pointerStrength?: number;
|
|
28
|
+
}
|
|
29
|
+
export interface ParticleBackgroundControls {
|
|
30
|
+
/** Stops animation, removes the canvas, and releases all resources. Safe to repeat. */
|
|
31
|
+
destroy(): void;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Draws a Canvas 2D particle background behind one or more elements. Network and
|
|
35
|
+
* constellation modes use spatially bucketed connections to avoid all-pairs scans.
|
|
36
|
+
*/
|
|
37
|
+
export declare function particleBackground(target: AnimateTarget, options?: ParticleBackgroundOptions): ParticleBackgroundControls;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AnimateTarget } from "../core/animate.js";
|
|
2
|
+
export interface ParticleFieldOptions {
|
|
3
|
+
/** Colors used for particles and connection lines. Defaults to violet and cyan. */
|
|
4
|
+
colors?: readonly string[];
|
|
5
|
+
/** Number of particles per target. Must be an integer from 1 to 1000. Defaults to 60. */
|
|
6
|
+
count?: number;
|
|
7
|
+
/** Particle radius in CSS pixels. Must be > 0. Defaults to 2. */
|
|
8
|
+
size?: number;
|
|
9
|
+
/** Particle velocity multiplier. Must be >= 0. Defaults to 1. */
|
|
10
|
+
speed?: number;
|
|
11
|
+
/** Whether to draw lines between nearby particles. Defaults to false. */
|
|
12
|
+
connections?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface ParticleFieldControls {
|
|
15
|
+
/** Stops rendering, disconnects observers, and removes the canvases. Safe to repeat. */
|
|
16
|
+
destroy(): void;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Draws a lightweight particle field behind target content using one shared animation frame
|
|
20
|
+
* scheduler. Canvas rendering pauses when every target is outside the viewport.
|
|
21
|
+
*/
|
|
22
|
+
export declare function particleField(target: AnimateTarget, options?: ParticleFieldOptions): ParticleFieldControls;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AnimateTarget } from "../core/animate.js";
|
|
2
|
+
export interface SpotlightBackgroundOptions {
|
|
3
|
+
/** CSS color of the glow. Defaults to violet. */
|
|
4
|
+
color?: string;
|
|
5
|
+
/** Radius of the glow in pixels. Must be > 0. Defaults to 300. */
|
|
6
|
+
radius?: number;
|
|
7
|
+
/** Glow opacity between 0 and 1. Defaults to 0.35. */
|
|
8
|
+
intensity?: number;
|
|
9
|
+
/** Pointer-position transition duration in seconds, between 0 and 1. Defaults to 0.15. */
|
|
10
|
+
smoothing?: number;
|
|
11
|
+
}
|
|
12
|
+
export interface SpotlightBackgroundControls {
|
|
13
|
+
/** Removes pointer listeners and the glow layer, restoring temporary target styles. Safe to repeat. */
|
|
14
|
+
destroy(): void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Adds a radial glow that follows the pointer within each target. CSS transitions smooth
|
|
18
|
+
* pointer changes without a JavaScript animation loop; reduced motion keeps it centered.
|
|
19
|
+
*/
|
|
20
|
+
export declare function spotlightBackground(target: AnimateTarget, options?: SpotlightBackgroundOptions): SpotlightBackgroundControls;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AnimateTarget } from "../core/animate.js";
|
|
2
|
+
export interface WaveBackgroundOptions {
|
|
3
|
+
/** CSS colors filled by the waves. Defaults to violet and cyan. */
|
|
4
|
+
colors?: readonly string[];
|
|
5
|
+
/** Vertical wave height in SVG units. Must be >= 0. Defaults to 30. */
|
|
6
|
+
amplitude?: number;
|
|
7
|
+
/** Number of wave cycles across the SVG width. Must be > 0 and <= 100. Defaults to 2. */
|
|
8
|
+
frequency?: number;
|
|
9
|
+
/** Duration of one animation cycle in seconds. Set to 0 for static waves. Defaults to 8. */
|
|
10
|
+
speed?: number;
|
|
11
|
+
/** Overlay opacity between 0 and 1. Defaults to 0.6. */
|
|
12
|
+
opacity?: number;
|
|
13
|
+
}
|
|
14
|
+
export interface WaveBackgroundControls {
|
|
15
|
+
/** Removes the waves, keyframes and temporary target styles. Safe to repeat. */
|
|
16
|
+
destroy(): void;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Adds responsive SVG waves behind target content. Positive speed animates with CSS keyframes;
|
|
20
|
+
* zero speed or a reduced-motion preference keeps the waves static.
|
|
21
|
+
*/
|
|
22
|
+
export declare function waveBackground(target: AnimateTarget, options?: WaveBackgroundOptions): WaveBackgroundControls;
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Effect & Capability Catalogue
|
|
3
|
+
*
|
|
4
|
+
* Machine-readable registry allowing AI agents, MCP tools, and developer tools
|
|
5
|
+
* to discover, inspect, configure, and compose AF Motion's public capabilities.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SCHEMA_VERSION = "1.0.0";
|
|
8
|
+
import { SCHEMA_SPEC_VERSION, createSchemaId, validateSchema, validateConfiguration, resolveConfigurationDefaults, createUnifiedSchema, type UnifiedMotionSchema, type SchemaPropertyDescriptor, type SchemaPropertyType, type SchemaCapabilityCategory, type ConfigurationValidationError, type ConfigurationValidationOptions, type ConfigurationValidationResult, type SchemaValidationError, type SchemaValidationResult, type SchemasDocument, type SchemaFilterOptions } from "./core/schema.js";
|
|
9
|
+
import { type AIMotionCapability, type AIMotionRegistry, type CapabilityFilterOptions, type RegistryDocument, type RegistryExportOptions } from "./core/ai-motion-registry.js";
|
|
10
|
+
export type CapabilityCategory = "core-animation" | "visual-effect" | "text-effect" | "background" | "pointer" | "scroll" | "svg" | "gesture" | "composition" | "react";
|
|
11
|
+
export type ReducedMotionBehavior = "skips-to-endpoint" | "disables-animation" | "static-fallback" | "respects-profile" | "not-applicable";
|
|
12
|
+
export type ParameterKind = "positional" | "option" | "prop";
|
|
13
|
+
export interface ParameterMetadata {
|
|
14
|
+
readonly name: string;
|
|
15
|
+
readonly kind: ParameterKind;
|
|
16
|
+
readonly type: string;
|
|
17
|
+
readonly required: boolean;
|
|
18
|
+
readonly default?: unknown;
|
|
19
|
+
readonly description: string;
|
|
20
|
+
readonly placeholder?: string;
|
|
21
|
+
readonly range?: {
|
|
22
|
+
readonly min?: number;
|
|
23
|
+
readonly max?: number;
|
|
24
|
+
};
|
|
25
|
+
readonly enum?: readonly (string | number)[];
|
|
26
|
+
readonly itemType?: string;
|
|
27
|
+
readonly dependsOn?: string;
|
|
28
|
+
readonly example?: unknown;
|
|
29
|
+
}
|
|
30
|
+
export interface CallbackParameterDescriptor {
|
|
31
|
+
readonly name: string;
|
|
32
|
+
readonly type: string;
|
|
33
|
+
readonly description: string;
|
|
34
|
+
}
|
|
35
|
+
export interface CallbackDescriptor {
|
|
36
|
+
readonly name: string;
|
|
37
|
+
readonly parameters: readonly CallbackParameterDescriptor[];
|
|
38
|
+
readonly returnType: string;
|
|
39
|
+
readonly description: string;
|
|
40
|
+
}
|
|
41
|
+
export interface CompatibilityMetadata {
|
|
42
|
+
readonly browser: boolean;
|
|
43
|
+
readonly ssr: boolean;
|
|
44
|
+
readonly requiresCanvas?: boolean;
|
|
45
|
+
readonly requiresDom?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export interface UsageSignature {
|
|
48
|
+
readonly importStatement: string;
|
|
49
|
+
readonly invocation: string;
|
|
50
|
+
readonly exampleCode: string;
|
|
51
|
+
}
|
|
52
|
+
export interface CapabilityMetadata {
|
|
53
|
+
readonly id: string;
|
|
54
|
+
readonly name: string;
|
|
55
|
+
readonly category: CapabilityCategory;
|
|
56
|
+
readonly description: string;
|
|
57
|
+
readonly supportedTargets: readonly string[];
|
|
58
|
+
readonly signature: UsageSignature;
|
|
59
|
+
readonly parameters: readonly ParameterMetadata[];
|
|
60
|
+
readonly controls: readonly string[];
|
|
61
|
+
readonly callbacks: readonly string[];
|
|
62
|
+
readonly callbackDescriptors?: readonly CallbackDescriptor[];
|
|
63
|
+
readonly reducedMotion: ReducedMotionBehavior;
|
|
64
|
+
readonly compatibility: CompatibilityMetadata;
|
|
65
|
+
readonly tags?: readonly string[];
|
|
66
|
+
}
|
|
67
|
+
export interface ValidationError {
|
|
68
|
+
readonly parameter?: string;
|
|
69
|
+
readonly message: string;
|
|
70
|
+
}
|
|
71
|
+
export interface ValidationResult {
|
|
72
|
+
readonly valid: boolean;
|
|
73
|
+
readonly errors: readonly ValidationError[];
|
|
74
|
+
}
|
|
75
|
+
export interface CatalogueDocument {
|
|
76
|
+
readonly $schema: string;
|
|
77
|
+
readonly version: string;
|
|
78
|
+
readonly totalCapabilities: number;
|
|
79
|
+
readonly categories: readonly CapabilityCategory[];
|
|
80
|
+
readonly capabilities: readonly CapabilityMetadata[];
|
|
81
|
+
}
|
|
82
|
+
export declare const CAPABILITY_CATEGORIES: readonly CapabilityCategory[];
|
|
83
|
+
export declare const CAPABILITIES: readonly CapabilityMetadata[];
|
|
84
|
+
/**
|
|
85
|
+
* Returns all registered capabilities in the catalogue.
|
|
86
|
+
*/
|
|
87
|
+
export declare function listCapabilities(): readonly CapabilityMetadata[];
|
|
88
|
+
/**
|
|
89
|
+
* Returns the list of standard capability categories.
|
|
90
|
+
*/
|
|
91
|
+
export declare function listCategories(): readonly CapabilityCategory[];
|
|
92
|
+
/**
|
|
93
|
+
* Finds a single capability by its unique ID.
|
|
94
|
+
*/
|
|
95
|
+
export declare function getCapability(id: string): CapabilityMetadata | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* Returns all capabilities matching the specified category.
|
|
98
|
+
*/
|
|
99
|
+
export declare function getCapabilitiesByCategory(category: CapabilityCategory): readonly CapabilityMetadata[];
|
|
100
|
+
/**
|
|
101
|
+
* Searches capabilities by keyword query matching ID, name, description, category, or tags.
|
|
102
|
+
*/
|
|
103
|
+
export declare function searchCapabilities(query: string): readonly CapabilityMetadata[];
|
|
104
|
+
/**
|
|
105
|
+
* Validates a capability's option/prop configuration object against its declared schema.
|
|
106
|
+
* Useful for AI agents and developer tooling to check parameters before execution.
|
|
107
|
+
*/
|
|
108
|
+
export declare function validateCapabilityConfiguration(capabilityId: string, configuration: Record<string, unknown>): ValidationResult;
|
|
109
|
+
/**
|
|
110
|
+
* Exports the raw catalogue capabilities array as serialized JSON.
|
|
111
|
+
*/
|
|
112
|
+
export declare function exportCatalogueJson(pretty?: boolean): string;
|
|
113
|
+
/**
|
|
114
|
+
* Exports the complete schema document with version metadata and category breakdown.
|
|
115
|
+
*/
|
|
116
|
+
export declare function exportCatalogueDocument(): CatalogueDocument;
|
|
117
|
+
/**
|
|
118
|
+
* Builds the initial capability set covering all AF Motion systems.
|
|
119
|
+
*/
|
|
120
|
+
export declare function buildInitialRegistryCapabilities(): AIMotionCapability[];
|
|
121
|
+
/**
|
|
122
|
+
* Default global AI Motion Registry instance containing all AF Motion capabilities.
|
|
123
|
+
*/
|
|
124
|
+
export declare const aiMotionRegistry: AIMotionRegistry;
|
|
125
|
+
/**
|
|
126
|
+
* Registers a capability with the global AI Motion Registry.
|
|
127
|
+
*/
|
|
128
|
+
export declare function registerCapability(capability: AIMotionCapability, options?: {
|
|
129
|
+
override?: boolean;
|
|
130
|
+
}): void;
|
|
131
|
+
/**
|
|
132
|
+
* Unregisters a custom capability from the global AI Motion Registry.
|
|
133
|
+
*/
|
|
134
|
+
export declare function unregisterCapability(id: string): boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Retrieves schema info and defaults for a capability.
|
|
137
|
+
*/
|
|
138
|
+
export declare function getCapabilitySchema(id: string): UnifiedMotionSchema | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* Retrieves a schema by canonical schema URI (e.g. "af-motion:schema:capability:preset-fade-in") or capability ID.
|
|
141
|
+
*/
|
|
142
|
+
export declare function getSchemaById(schemaId: string): UnifiedMotionSchema | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* Lists all capability schemas with optional category, tag, or version filtering.
|
|
145
|
+
*/
|
|
146
|
+
export declare function listSchemas(filter?: SchemaFilterOptions): readonly UnifiedMotionSchema[];
|
|
147
|
+
/**
|
|
148
|
+
* Exports all schemas in the registry into a unified machine-readable JSON Schema document.
|
|
149
|
+
*/
|
|
150
|
+
export declare function exportSchemas(options?: {
|
|
151
|
+
pretty?: boolean;
|
|
152
|
+
category?: string;
|
|
153
|
+
}): SchemasDocument;
|
|
154
|
+
export { SCHEMA_SPEC_VERSION, createSchemaId, validateSchema, validateConfiguration, resolveConfigurationDefaults, createUnifiedSchema, type UnifiedMotionSchema, type SchemaPropertyDescriptor, type SchemaPropertyType, type SchemaCapabilityCategory, type ConfigurationValidationError, type ConfigurationValidationOptions, type ConfigurationValidationResult, type SchemaValidationError, type SchemaValidationResult, type SchemasDocument, type SchemaFilterOptions, };
|
|
155
|
+
/**
|
|
156
|
+
* Returns all distinct capability categories in the registry.
|
|
157
|
+
*/
|
|
158
|
+
export declare function getCapabilityCategories(): readonly string[];
|
|
159
|
+
/**
|
|
160
|
+
* Returns all distinct capability tags in the registry.
|
|
161
|
+
*/
|
|
162
|
+
export declare function getCapabilityTags(): readonly string[];
|
|
163
|
+
/**
|
|
164
|
+
* Exports a deterministic JSON document of the AI Motion Registry.
|
|
165
|
+
*/
|
|
166
|
+
export declare function exportRegistry(options?: RegistryExportOptions): RegistryDocument;
|
|
167
|
+
/**
|
|
168
|
+
* Resets the registry by removing all custom capabilities.
|
|
169
|
+
*/
|
|
170
|
+
export declare function resetCapabilityRegistry(): void;
|
|
171
|
+
/**
|
|
172
|
+
* Lists capabilities from the global AI Motion Registry with optional filtering.
|
|
173
|
+
*/
|
|
174
|
+
export declare function listRegistryCapabilities(filter?: CapabilityFilterOptions): readonly AIMotionCapability[];
|
|
175
|
+
/**
|
|
176
|
+
* Retrieves a capability from the global AI Motion Registry by ID.
|
|
177
|
+
*/
|
|
178
|
+
export declare function getRegistryCapability(id: string): AIMotionCapability | undefined;
|
|
179
|
+
export { createAIMotionRegistry, validateCapability, deriveJsonSchemaFromParameters, type AIMotionCapability, type AIMotionCategory, type AIMotionRegistry, type CapabilityAccessibilityMetadata, type CapabilityConfigurationProperty, type CapabilityConfigurationSchema, type CapabilityDependencies, type CapabilityExample, type CapabilityFilterOptions, type CapabilityReactMetadata, type CapabilityRegistrationValidationError, type CapabilitySchemaInfo, type CapabilitySearchQuery, type CapabilityValidationResult, type RegistryDocument, type RegistryExportOptions, } from "./core/ai-motion-registry.js";
|
|
180
|
+
export { BUILT_IN_MOTION_PRESETS, MOTION_PRESET_CATEGORIES, PRESET_SCHEMA_VERSION, exportPresetDocument, exportPresetsJson, getPreset, getPresetsByCategory, listPresetCategories, listPresets, searchPresets, validatePreset, validatePresetOverrides, type MotionPreset, type MotionPresetAnimationConfig, type MotionPresetCategory, type MotionPresetChoreographyConfig, type MotionPresetOverrides, type MotionPresetStepConfig, type PresetDocument, type PresetParameterSchema, type PresetReducedMotionBehavior, type PresetTargetType, type PresetUsageSignature, type PresetValidationError, type PresetValidationResult, } from "./presets.js";
|
|
181
|
+
export { BUILT_IN_MOTION_RECIPES, RECIPE_SCHEMA_VERSION, composeRecipe, runRecipe, registerRecipe, getRecipe, listRecipes, searchRecipes, removeRecipe, validateRecipe, validateRecipeRunOptions, exportRecipeJson, exportRecipesDocument, importRecipeFromJson, type DeclarativeMotionRecipe, type RecipeStep, type RecipePresetStep, type RecipeParallelStep, type RecipeSequenceStep, type RecipeNestedStep, type RecipeParameterSchema, type RecipeTargetMap, type RecipeRunOptions, type RecipeValidationError, type RecipeValidationResult, type RecipesDocument, } from "./core/motion-recipe.js";
|
|
182
|
+
export { BUILT_IN_MOTION_DNA, MOTION_DNA_SCHEMA_VERSION, applyMotionDNA, cloneMotionDNA, exportMotionDNADocument, exportMotionDNAJson, getMotionDNA, importMotionDNAFromJson, listMotionDNA, motionDNARegistry, registerMotionDNA, removeMotionDNA, resolveMotionDNA, searchMotionDNA, validateMotionDNA, type MotionDNA, type MotionDNACharacteristics, type MotionDNAConfigurableParameter, type MotionDNADocument, type MotionDNAOverrides, type MotionDNAPersonality, type MotionDNAProfileMetadata, type MotionDNARegistryApi, type MotionDNASpringConfig, type MotionDNAValidationError, type MotionDNAValidationResult, } from "./core/motion-dna.js";
|
|
183
|
+
export { ADAPTIVE_MOTION_SCHEMA_VERSION, adaptAnimationOptions, applyAdaptivePreset, detectRuntimeContext, disableAdaptiveMotion, enableAdaptiveMotion, getAdaptiveMotionConfig, inspectAdaptiveMotion, isAdaptiveMotionEnabled, resetAdaptiveMotionConfig, resolveAdaptiveMotion, setAdaptiveMotionConfig, setAdaptiveMotionEnabled, subscribeAdaptiveMotion, type AdaptiveMotionConditions, type AdaptiveMotionConfig, type AdaptiveMotionOverrides, type AdaptiveMotionProfile, type AdaptiveMotionState, type AdaptiveReducedMotion, type RuntimeContext, } from "./presets.js";
|
|
184
|
+
export { BUILT_IN_DESIGN_SYSTEMS, DESIGN_SYSTEM_SCHEMA_VERSION, cloneDesignSystem, createDesignSystem, exportDesignSystemJson, exportDesignSystemsDocument, getActiveDesignSystem, getDesignSystem, importDesignSystemFromJson, listDesignSystems, registerDesignSystem, removeDesignSystem, resetDesignSystemRegistry, resolveDesignSystem, resolveDesignToken, resolveMotionTiming, resolveMovementDistance, searchDesignSystems, setActiveDesignSystem, subscribeToDesignSystem, validateDesignSystem, type DesignSystem, type DesignSystemDefinition, type DesignSystemEasingTokens, type DesignSystemInteractionTokens, type DesignSystemMetadata, type DesignSystemMotionTimingTokens, type DesignSystemSpacingTokens, type DesignSystemsDocument, type DesignSystemTypographyTokens, type DesignSystemValidationError, type DesignSystemValidationResult, } from "./presets.js";
|
|
185
|
+
export { BUILT_IN_CHOREOGRAPHIES, CHOREOGRAPHY_SCHEMA_VERSION, createMotionChoreography, exportChoreographiesDocument, exportChoreographyJson, getChoreography, importChoreographyFromJson, listChoreographies, registerChoreography, removeChoreography, resetChoreographyRegistry, searchChoreographies, validateChoreography, type ChoreographiesDocument, type ChoreographyDefinition, type ChoreographyMetadata, type ChoreographyQuery, type ChoreographyRunOptions, type ChoreographyTargetMap, type ChoreographyValidationError, type ChoreographyValidationResult, type MotionChoreographyAction, type MotionChoreographyAnimation, type MotionChoreographyBranch, type MotionChoreographyControls, type MotionChoreographyEffect, type MotionChoreographyParallel, type MotionChoreographyPreset, type MotionChoreographyRecipe, type MotionChoreographySequence, } from "./presets.js";
|
|
186
|
+
export { interpretMotionPrompt, type InterpretOptions, type MotionAccessibilitySpecification, type MotionAlternativeRecommendation, type MotionInteractionOptions, type MotionInterpretationResult, type MotionScrollOptions, type MotionSpecification, type MotionStaggerOptions, type MotionTargetSpecification, type MotionTriggerType, } from "./core/natural-motion.js";
|
|
187
|
+
export { DESIGN_CONTEXT_SPEC_VERSION, DEFAULT_DESIGN_CONTEXT, createDesignContext, normalizeDesignContext, validateDesignContext, interpretDesignRequirements, toNaturalMotionContext, setDesignRegistryResolver, getEffectiveDesignRegistry, type WebsiteCategory, type BrandPersonality, type ColorModePreference, type VisualVibrancy, type LayoutDensity, type LayoutStructure, type MotionIntensity, type TargetAudience, type IndustrySector, type ComponentRequirements, type InteractionRequirements, type ResponsivenessRequirements, type AccessibilityRequirements, type PerformanceConstraints, type MotionPreferences, type VisualDirection, type ContentHierarchy, type DesignContext, type DesignConflict, type RecommendedVisualStyle, type RecommendedMotion, type DesignDetectedCharacteristics, type DesignInterpretationResult, type DesignInterpretationOptions, type DesignContextValidationResult, } from "./core/design-intelligence.js";
|
|
188
|
+
export { COMPOSITION_SPEC_VERSION, createComposition, addCompositionNode, removeCompositionNode, updateCompositionNode, buildCompositionTree, validateComposition, exportCompositionJson, importCompositionFromJson, composeScene, setCompositionRegistryResolver, getEffectiveCompositionRegistry, type CompositionNode, type CompositionNodeType, type NodeTargetDescriptor, type NodeTimingConfig, type NodeStaggerConfig, type NodeLayoutMetadata, type CompositionAccessibilitySettings, type MotionComposition, type CompositionTree, type CompositionValidationError, type CompositionConflict, type CompositionValidationResult, type CompositionResult, type CompositionOptions, type ComposeSceneRequest, } from "./core/composition.js";
|
|
189
|
+
export { CORRECTION_ENGINE_VERSION, correctConfiguration, validateAndCorrectConfiguration, correctComposition, setCorrectorRegistryResolver, getEffectiveCorrectorRegistry, type CorrectionSafety, type CorrectionRuleType, type CorrectionSuggestion, type ConfigurationIssue, type CorrectionReport, type CorrectionOptions, type CorrectionResult, type CompositionCorrectionResult, } from "./core/configuration-corrector.js";
|
|
190
|
+
export { PIPELINE_VERSION, generateMotion, generateMotionSync, setGenerationPipelineRegistryResolver, getEffectiveGenerationRegistry, type GenerationStage, type GenerationRequest, type GenerationOptions, type GenerationContext, type GenerationDiagnostics, type GenerationError, type GenerationResult, type ReactIntegrationOutput, type ReactHierarchyNode, } from "./core/generation-pipeline.js";
|
|
191
|
+
export { VISUAL_STYLE_SCHEMA_SPEC_VERSION, visualStyleRegistry, createVisualStyleRegistry, checkStyleCompatibility, resolveVisualStyle, validateVisualStyleDefinition, createVisualStyleSchema, type VisualStyleCategory, type VisualStyleTypography, type VisualStyleShapeLanguage, type VisualStyleLayout, type VisualStyleGraphics, type VisualStyleTextures, type VisualStyleSurfaces, type VisualStyleLighting, type VisualStyleBackground, type VisualStyleComponents, type VisualStyleMotion, type VisualStyleGraphicsCompatibility, type VisualStyleThreeDCompatibility, type VisualStyleResponsive, type VisualStyleAccessibility, type VisualStyleReactMetadata, type VisualStyleDefinition, type VisualStyleFilter, type StyleCompatibilityContext, type StyleConflict, type StyleCompatibilityReport, type ResolvedVisualStyle, type VisualStyleRegistry, computeSkeuomorphicStyle, type SkeuomorphicMaterial, type SkeuomorphicStyleOptions, type SkeuomorphicStyleResult, computeNeumorphicStyle, type NeumorphicShape, type NeumorphicLightSource, type NeumorphicStyleOptions, type NeumorphicStyleResult, computeArtNouveauStyle, type ArtNouveauVariant, type ArtNouveauStyleOptions, type ArtNouveauStyleResult, ART_NOUVEAU_WHIPLASH_PATH, ART_NOUVEAU_CORNER_PATH, ART_NOUVEAU_DIVIDER_PATH, getStyleMotionConfig, type StyleMotionConfig, computeLiquidChromeStyle, type LiquidChromeVariant, type LiquidChromeStyleOptions, type LiquidChromeStyleResult, computeDeStijlStyle, type DeStijlVariant, type DeStijlStyleOptions, type DeStijlStyleResult, computeMemphisStyle, type MemphisVariant, type MemphisPatternType, type MemphisStyleOptions, type MemphisStyleResult, MEMPHIS_SQUIGGLE_PATH, MEMPHIS_ZIGZAG_PATH, MEMPHIS_TRIANGLE_PATH, MEMPHIS_CIRCLE_PATH, computePsychedelicStyle, type PsychedelicVariant, type PsychedelicStyleOptions, type PsychedelicStyleResult, computeVaporwaveStyle, type VaporwaveVariant, type VaporwaveStyleOptions, type VaporwaveStyleResult, computeSteampunkStyle, type SteampunkVariant, type SteampunkStyleOptions, type SteampunkStyleResult, PSYCHEDELIC_WAVE_PATH, PSYCHEDELIC_FLOWER_PATH, VAPORWAVE_SUNSET_PATH, VAPORWAVE_GRID_PATH, STEAMPUNK_GEAR_PATH, STEAMPUNK_BRACKET_PATH, computeGrungeStyle, type GrungeVariant, type GrungeStyleOptions, type GrungeStyleResult, computePaperCutoutStyle, type PaperCutoutVariant, type PaperCutoutStyleOptions, type PaperCutoutStyleResult, computeGlitchStyle, type GlitchVariant, type GlitchStyleOptions, type GlitchStyleResult, GRUNGE_TAPE_PATH, GRUNGE_SPLATTER_PATH, GRUNGE_SCRATCH_PATH, PAPER_CUTOUT_WAVE_PATH, PAPER_FOLDED_CORNER_PATH, PAPER_PERFORATION_PATH, GLITCH_CROSSHAIR_PATH, GLITCH_BARCODE_PATH, GLITCH_CORNER_TECH_PATH, computeAntiDesignStyle, type AntiDesignVariant, type AntiDesignStyleOptions, type AntiDesignStyleResult, compute3DInflatedStyle, type Inflated3DVariant, type Inflated3DStyleOptions, type Inflated3DStyleResult, computeIsometricStyle, type IsometricVariant, type IsometricStyleOptions, type IsometricStyleResult, ANTI_DESIGN_STRIPES_PATH, ANTI_DESIGN_CROSS_PATH, ANTI_DESIGN_BURST_PATH, INFLATED_3D_BUBBLE_PATH, INFLATED_3D_PILL_PATH, INFLATED_3D_CLOUD_PATH, ISOMETRIC_CUBE_PATH, ISOMETRIC_GRID_PATH, ISOMETRIC_PYRAMID_PATH, computeUkiyoeStyle, type UkiyoeVariant, type UkiyoeStyleOptions, type UkiyoeStyleResult, computeBrutalistStyle, type BrutalistVariant, type BrutalistStyleOptions, type BrutalistStyleResult, computeBauhausStyle, type BauhausVariant, type BauhausStyleOptions, type BauhausStyleResult, computeMidCenturyModernStyle, type MidCenturyModernVariant, type MidCenturyModernStyleOptions, type MidCenturyModernStyleResult, UKIYOE_WAVE_PATH, UKIYOE_CLOUD_PATH, UKIYOE_HANKO_PATH, BRUTALIST_CROSSHAIR_PATH, BRUTALIST_CORNER_PATH, BRUTALIST_ARROW_PATH, BAUHAUS_TRIANGLE_PATH, BAUHAUS_CIRCLE_PATH, BAUHAUS_SQUARE_PATH, MCM_SUNBURST_PATH, MCM_BOOMERANG_PATH, MCM_KIDNEY_PATH, } from "./core/visual-style-registry.js";
|
|
192
|
+
export { type RendererBackend, type GraphicsEngineState, type GraphicsCapabilities, type CapabilityDetectionOptions, type RendererOptions, type RenderFrameContext, type Renderer, type DisposableResource, type ResourceManager, type GraphicsEffectRequirement, type GraphicsEffectAccessibility, type GraphicsEffectInitContext, type GraphicsEffectUpdateContext, type GraphicsEffect, type GraphicsEngineOptions, type GraphicsEngine, type CanvasDimensions, type ValidationReport, detectGraphicsCapabilities, resetCachedGraphicsCapabilities, DEFAULT_FALLBACK_CAPABILITIES, createResourceManager, updateCanvasDimensions, getCanvasDimensions, setupResizeObserver, setupVisibilityObserver, createRenderer, Canvas2DRenderer, WebGLRenderer, NullRenderer, createGraphicsEngine, GRAPHICS_SCHEMA_VERSION, RENDERER_OPTIONS_SCHEMA, GRAPHICS_ENGINE_OPTIONS_SCHEMA, GRAPHICS_CAPABILITIES_SCHEMA, validateRendererOptions, validateGraphicsEngineOptions, validateGraphicsEffect, validateGraphicsEffectConfig, GRAPHICS_RENDERING_CAPABILITY, registerGraphicsCapability, type MaterialType, type MaterialUniforms, type MaterialProperty, type SurfaceBorderOptions, type SurfaceHighlightOptions, type SurfaceDefinition, type SurfaceStyleResult, type AmbientLight, type DirectionalLight, type PointLight, type HighlightConfig, type ShadowConfig, type EnvironmentLighting, type LightingConfig, type ResolvedLighting, type MaterialDefinition, type GlassPresetName, type GlassMaterialOptions, type GlassStyleResult, type ComputeSurfaceOptions, MATTE_MATERIAL, METALLIC_MATERIAL, PLASTIC_MATERIAL, EMISSIVE_MATERIAL, TRANSLUCENT_MATERIAL, MATERIAL_PRESETS, getMaterialPreset, STUDIO_LIGHTING, DRAMATIC_LIGHTING, AMBIENT_SOFT_LIGHTING, NEON_LIGHTING, SUNSET_LIGHTING, LIGHTING_PRESETS, getLightingPreset, FROSTED_GLASS_PRESET, CLEAR_GLASS_PRESET, TINTED_GLASS_PRESET, LIQUID_GLASS_PRESET, ACRYLIC_PRESET, TRANSLUCENT_PANEL_PRESET, GLASS_PRESETS, getGlassPreset, formatShadowsCss, resolveLighting, computeLightInteraction, computeSurfaceStyle, isBackdropFilterSupported, computeGlassStyle, createGlassEffect, MATERIALS_SCHEMA_VERSION, SURFACE_DEFINITION_SCHEMA, LIGHTING_CONFIG_SCHEMA, MATERIAL_DEFINITION_SCHEMA, GLASS_OPTIONS_SCHEMA, validateSurfaceDefinition, validateLightingConfig, validateMaterialDefinition, validateGlassOptions, correctMaterialConfig, correctGlassConfig, MATERIALS_SYSTEM_CAPABILITY, registerMaterialsCapability, type TextureGeneratorName, type TextureQuality, type TextureBlendMode, type TextureRepeatMode, type WebGLTextureDescriptor, type ProceduralTextureOptions, type ProceduralTextureConfig, type GeneratedTexture, type TextureCacheStats, type TextureMappingOptions, type TextureGeneratorMetadata, type PRNG, type GeneratorOutput, type GeneratorFn, type TextureCacheOptions, type GenerateTextureExecutionOptions, hashSeed, createPRNG, parseColor, createSafeCanvas, encodeSvgDataUrl, generateNoise, generatePaper, generateFabric, generateMarble, generateWood, generateMetalBrush, generateHalftone, generateDots, generateStripes, generateOrganicGradient, generateTopographic, generateImperfections, TEXTURE_GENERATORS, TEXTURE_GENERATORS_METADATA, TextureCache, defaultTextureCache, buildTextureCacheKey, generateProceduralTexture, getTextureGeneratorMetadata, listTextureGenerators, resolveTextureInput, applyTextureToSurface, TEXTURE_SCHEMA_VERSION, VALID_TEXTURE_GENERATORS, TEXTURE_OPTIONS_SCHEMA, TEXTURE_CONFIG_SCHEMA, validateTextureOptions, validateTextureConfig, correctTextureConfig, TEXTURE_GENERATION_CAPABILITY, registerTextureCapability, type DistortionType, type DistortionOptions, type FluidType, type FluidOptions, type ParticleShape, type ParticleOrigin, type ParticleEmitterOptions, type ParticleOptions, type ParticleState, type AdvancedEffectType, type AdvancedEffectOptions, type ComposedGraphicsEffect, createDistortionEffect, createFluidEffect, ParticlePool, createParticleEffect, createAdvancedEffect, composeGraphicsEffects, EFFECTS_SCHEMA_VERSION, VALID_DISTORTION_TYPES, DISTORTION_OPTIONS_SCHEMA, validateDistortionOptions, correctDistortionOptions, VALID_FLUID_TYPES, FLUID_OPTIONS_SCHEMA, validateFluidOptions, correctFluidOptions, VALID_PARTICLE_SHAPES, PARTICLE_OPTIONS_SCHEMA, validateParticleOptions, correctParticleOptions, VALID_ADVANCED_EFFECT_TYPES, ADVANCED_EFFECT_OPTIONS_SCHEMA, validateAdvancedEffectOptions, correctAdvancedEffectOptions, DISTORTION_CAPABILITY, FLUID_EFFECTS_CAPABILITY, PARTICLE_EFFECTS_CAPABILITY, ADVANCED_EFFECTS_CAPABILITY, registerGraphicsEffectsCapabilities, type GraphicsQualityLevel, type GraphicsQualityProfile, type GraphicsFallbackDecision, type GraphicsLayerType, type GraphicsLayer, type GraphicsCompositionDefinition, type GraphicsPerformanceStats, type GraphicsCompositionInstance, type GraphicsInstanceOptions, type GraphicsInstance, type ResolveFallbackOptions, type CreateCompositionOptions, QUALITY_PROFILES, resolveQualityProfile, AdaptiveQualityMonitor, resolveGraphicsFallback, validateLayerDependencies, sortCompositionLayers, updateCompositionLayer, addCompositionLayer, removeCompositionLayer, createGraphicsComposition, createGraphicsInstance, COMPOSITION_SCHEMA_VERSION, GRAPHICS_LAYER_SCHEMA, GRAPHICS_COMPOSITION_SCHEMA, validateGraphicsLayer, validateGraphicsComposition, correctGraphicsComposition, GRAPHICS_COMPOSITION_CAPABILITY, registerGraphicsCompositionCapability, } from "./graphics/index.js";
|
|
193
|
+
export * from "./3d/index.js";
|
|
194
|
+
export * from "./core/animation-intelligence/index.js";
|
|
195
|
+
export * from "./core/transitions/index.js";
|
|
196
|
+
export * from "./core/scroll-intelligence/index.js";
|
|
197
|
+
export * from "./core/microinteractions/index.js";
|
|
198
|
+
export * from "./core/choreography-intelligence/index.js";
|
|
199
|
+
export * from "./core/motion-validation/index.js";
|
|
200
|
+
export * from "./mcp/index.js";
|
|
201
|
+
export * from "./core/reference-analysis/index.js";
|
|
202
|
+
export * from "./core/physics/index.js";
|
|
203
|
+
export * from "./core/interactions/index.js";
|
|
204
|
+
export * from "./core/layout/index.js";
|
|
205
|
+
export * from "./core/svg-morph/index.js";
|
|
206
|
+
export * from "./core/motion-path/index.js";
|
|
207
|
+
export * from "./core/typography/index.js";
|
|
208
|
+
export * from "./core/advanced-motion/index.js";
|
|
209
|
+
export * from "./graphics/gpu-simulation/index.js";
|
|
210
|
+
export * from "./graphics/particles/index.js";
|
|
211
|
+
export * from "./graphics/fluid/index.js";
|
|
212
|
+
export * from "./graphics/environment/index.js";
|
|
213
|
+
export * from "./graphics/particle-fields/index.js";
|
|
214
|
+
export * from "./graphics/simulation/index.js";
|
|
215
|
+
export { clamp, isFiniteNumber, roundPrecision, canCollide, } from "./core/physics/index.js";
|
|
216
|
+
export { vec3Add, vec3Sub, vec3Scale, vec3Lerp, vec3Dot, vec3Cross, vec3Length, vec3LengthSq, vec3Distance, vec3DistanceSq, vec3Normalize, } from "./core/motion-path/index.js";
|
|
217
|
+
export { detectDeviceCapabilities, detectDeviceCapabilitiesAsync, detectDetailedGraphics, detectRuntimeEnvironment, detectMemoryCapabilities, detectCpuCapabilities, detectDisplayCapabilities, detectNetworkCapabilities, detectBatteryCapabilities, classifyDevice, calculateCapabilityScores, getDeviceCapabilityProfile, refreshDeviceCapabilities, resetCachedDeviceProfile, subscribeToCapabilityChanges, disposeCapabilityMonitor, isCapabilityMonitoringActive, type DeviceCapabilityProfile, type DeviceCategory, type RuntimeEnvironment, type DetectionStatus, type ValueWithStatus, type CapabilityScores, type DimensionScore, type DeviceDetectionOptions, type MockEnvironment, type CapabilityChangeListener, type CapabilitySubscription, } from "./core/device-capabilities/index.js";
|
|
218
|
+
export { createAdaptiveQualityController, createQualityProfile, getRecommendedQuality, ORDERED_PRESETS, QUALITY_PRESET_VALUES, SETTING_ADAPTATION_PRIORITIES, SETTING_PERFORMANCE_IMPACT, NUMERIC_SETTING_BOUNDS, clampNumericSetting, buildUnifiedSettings, extractQualityValues, getLowerPreset, getHigherPreset, PerformanceTracker, ResolutionIntelligence, get3DQualityPolicy, getParticlesQualityPolicy, getFluidQualityPolicy, getEnvironmentQualityPolicy, getGpuSimulationQualityPolicy, getPhysicsQualityPolicy, getModelLodQualityPolicy, aggregateSystemPolicies, AdaptiveQualityController, type QualityPresetName, type FeatureQualityTier, type ShadowQualityTier, type LightingQualityTier, type MaterialQualityTier, type TextureQualityTier, type PostProcessingQualityTier, type EnvironmentalQualityTier, type GpuSimulationQualityTier, type QualitySettingDescriptor, type UnifiedQualitySettings, type QualitySettingKey, type QualityValues, type QualityOverrides, type QualityProfile, type QualityRecommendation, type PerformanceMetrics, type FrameMetricsInput, type QualityAdaptationEvent, type System3DQualityPolicy, type SystemParticlesQualityPolicy, type SystemFluidQualityPolicy, type SystemEnvironmentQualityPolicy, type SystemGpuSimulationQualityPolicy, type SystemPhysicsQualityPolicy, type SystemModelLodQualityPolicy, type SystemQualityPolicies, type DynamicResolutionResult, type UserQualityPreferences, type AdaptiveQualityControllerOptions, type QualityChangeListener, type QualitySubscription, type IAdaptiveQualityController, } from "./core/adaptive-quality/index.js";
|
|
219
|
+
export { createPerformanceProfiler, PerformanceProfiler, analyzePerformanceBottlenecks, REGISTERED_STRATEGIES, getStrategyById, getCandidatesForBottlenecks, createWorkerTaskManager, WorkerTaskManager, createPerformanceOptimizer, PerformanceOptimizer, type MetricMeasurementStatus, type PerformanceMetricValue, type PerformanceSnapshot, type BottleneckCategory, type BottleneckSeverity, type BottleneckItem, type BottleneckAnalysisReport, type OptimizationCategory, type OptimizationMode, type OptimizationStrategyId, type OptimizationCandidate, type AppliedOptimizationRecord, type PerformanceProfilerOptions, type PerformanceOptimizerOptions, type WorkerTaskPriority, type WorkerTaskDefinition, type WorkerTaskResult, type IWorkerTaskManager, type IPerformanceProfiler, type IPerformanceOptimizer, } from "./core/performance-optimizer/index.js";
|
|
220
|
+
export { createResourceRegistry, ResourceRegistry, createMemoryMonitor, MemoryMonitor, DEFAULT_MEMORY_BUDGETS, createResourceCache, ResourceCache, safeBufferPoolManager, SafeBufferPoolManager, detectResourceLeaks, GpuResourceIntelligence, createMemoryPressureController, MemoryPressureController, getResourceReport, type ResourceCategory, type ResourceLifecycleState, type DisposalStrategy, type MemoryPressureLevel, type IDisposable, type ResourceRegistrationOptions, type ResourceRecord, type ResourceScope as IResourceScopeRecord, type MemoryBudgetConfig, type MemoryBudgetStatus, type MemorySnapshot, type ResourceLeakItem, type ResourceCacheStats, type ResourceIntelligenceReport, type IResourceRegistry, type IMemoryMonitor, type IResourceCache, type IMemoryPressureController, } from "./core/resource-intelligence/index.js";
|
|
221
|
+
export { createPerformanceIntelligence, PerformanceIntelligenceCoordinator, buildUnifiedPerformanceContext, evaluatePerformanceHealth, determineHealthStatus, HEALTH_SCORING_WEIGHTS, generatePerformanceDecisions, resolvePerformanceConflicts, PerformanceHistoryTracker, buildUnifiedPerformanceReport, QUALITY_PRESET_LADDER, getLowerQualityPreset, getHigherQualityPreset, QualityDegradationPolicy, QualityRecoveryPolicy, CpuOptimizationPolicy, MemoryPruningPolicy, GpuOptimizationPolicy, SimulationAdjustmentPolicy, BackgroundMaintenancePolicy, DEFAULT_PERFORMANCE_POLICIES, type PerformanceDecisionCategory, type DecisionRiskLevel, type ResponsibleSubsystem, type PerformanceDecision, type DimensionHealthScore, type PerformanceHealthScores, type UnifiedPerformanceContext, type ConflictResolutionResult, type DecisionExecutionResult, type UnifiedPerformanceReport, type PerformanceIntelligenceOptions, type IPerformanceIntelligence, type PerformanceIntelligenceContextSources, type DecisionPolicy, type SnapshotComparison, } from "./core/performance-intelligence/index.js";
|
|
222
|
+
export { AI_MOTION_INTELLIGENCE_VERSION, classifyMotionIntent, evaluateMotionQuality, generateMotionRecommendations, updateRecommendationStatus, applyAcceptedRecommendations, BUILT_IN_MOTION_PATTERNS, queryPatternKnowledgeBase, generateIntelligenceExplanation, DeterministicMotionIntelligenceProvider, IntelligenceProviderRegistry, defaultIntelligenceRegistry, AIMotionIntelligenceEngine, aiMotionIntelligence, type AIMotionIntentType, type IntentSignal, type SecondaryIntentResult, type IntentClassificationResult, type QualityFindingSeverity, type QualityFindingCategory, type QualityFinding, type MotionQualityDimensions, type QualityGrade, type MotionQualityEvaluationResult, type RecommendationSeverity, type RecommendationStatus, type IntelligentMotionRecommendation, type MotionPatternDefinition, type IntelligenceExplanation, type MotionAnalysisInput, type MotionAnalysisOptions, type MotionAnalysisResult, type IAIMotionIntelligenceProvider, } from "./core/ai-motion-intelligence/index.js";
|
|
223
|
+
export { DESIGN_TO_MOTION_SPEC_VERSION, parseAndNormalizeDesignInput, analyzeDesignSpecification, planMotionFromDesign, generateMotionComposition, generateExportArtifacts, validateGeneratedMotion, DESIGN_TO_MOTION_PRESETS, listDesignToMotionPresets, getDesignToMotionPreset, DesignToMotionEngine, designToMotionEngine, type DesignElementType, type DesignInteractionCapability, type MotionDNAPersonalityOption, type DesignTransformSpec, type DesignDimensionsSpec, type DesignPositionSpec, type DesignStructuredElement, type DesignStructuredSpecification, type DesignTokenContext, type DesignNaturalLanguageInput, type DesignToMotionInput, type AnalyzedDesignElement, type DesignAnalysisResult, type MotionElementPhasePlan, type MotionElementInteractionPlan, type MotionPlanElement, type MotionPlan, type DesignToMotionValidation, type DesignToMotionExportArtifacts, type GeneratedMotionResult, type DesignToMotionPreset, type DesignToMotionOptions, type IDesignToMotionProvider, } from "./core/design-to-motion/index.js";
|
|
224
|
+
export { SCENE_GENERATION_SPEC_VERSION, parseAndNormalizeSceneInput, analyzeSceneSpecification, planSceneExecution, generateSceneComposition, generateScene3DSpec, generateSceneExportArtifacts, validateGeneratedScene, AI_SCENE_PRESETS, listAIScenePresets, getAIScenePreset, AISceneGenerationEngine, aiSceneGenerationEngine, type SceneCategory, type SceneObjectType, type SceneLayerId, type SceneObjectTransform, type SceneObjectVisuals, type SceneObjectAnimation, type SceneObjectInteraction, type ScenePhysicsConfig, type SceneParticleConfig, type SceneObjectDefinition, type SceneCameraDefinition, type SceneLightingDefinition, type SceneEnvironmentDefinition, type StructuredSceneSpecification, type SceneNaturalLanguageInput, type AISceneGenerationInput, type SceneUnderstandingResult, type ScenePlan, type AISceneExportArtifacts, type GeneratedSceneResult, type AIScenePreset, type AISceneGenerationOptions, type IAISceneGenerationProvider, type SceneValidationResult, } from "./core/scene-generation/index.js";
|
|
225
|
+
export { AGENT_WORKFLOWS_SPEC_VERSION, AgentRegistry, agentRegistry, SafeToolRegistry, safeToolRegistry, registerDefaultSafeTools, STANDARD_AGENTS, registerDefaultAgents, motionIntelligenceAgent, designToMotionAgent, sceneGenerationAgent, performanceOptimizationAgent, accessibilityAgent, compositionAgent, TaskPlanner, taskPlanner, TaskPlanValidationError, WorkflowContext, WorkflowExecutionEngine, workflowExecutionEngine, WORKFLOW_TEMPLATES, listWorkflowTemplates, getWorkflowTemplate, type AgentCategory, type AgentCapability, type AgentInputType, type AgentOutputType, type TaskStatus, type WorkflowStatus, type AgentMetadata, type ToolCallLog, type AgentExecutionContext, type AgentExecutionResult, type AgentDefinition, type AgentTask, type TaskPlan, type ToolPermission, type ToolDefinition, type WorkflowAuditEntry, type AgentWorkflowTelemetry, type WorkflowTemplate, type WorkflowExecutionOptions, type WorkflowExecutionResult, } from "./core/agent-workflows/index.js";
|
|
226
|
+
export { ORCHESTRATION_SPEC_VERSION, SharedWorkflowContext, CollaborationPlanner, collaborationPlanner, AgentMessageBus, agentMessageBus, ConflictResolver, conflictResolver, MultiAgentOrchestrator, multiAgentOrchestrator, COLLABORATION_WORKFLOW_DEFINITIONS, listCollaborationWorkflows, getCollaborationWorkflow, type OrchestrationStrategy, type AgentMessageType, type AgentMessage, type CollaborationTask, type CollaborationPlan, type SharedArtifact, type ConflictType, type ResolutionStrategy, type ConflictRecord, type QualityGateStatus, type QualityGateCheck, type CollectiveValidationResult, type MultiAgentDeliverable, type OrchestrationOptions, } from "./core/agent-workflows/index.js";
|
|
227
|
+
export { AI_ECOSYSTEM_SPEC_VERSION, UNIFIED_AI_CAPABILITIES, AIEcosystemCapabilityRegistry, aiEcosystemCapabilityRegistry, listAICapabilities, getAICapability, queryAICapabilities, DeterministicLocalAIProvider, deterministicLocalAIProvider, AIEcosystemPipelineCoordinator, aiEcosystemPipelineCoordinator, executeAIEcosystemPipeline, type AICapabilityCategory, type AICapabilityId, type AICapabilityDescriptor, type AIEcosystemScenario, type AIEcosystemResultState, type AIEcosystemRequest, type AIEcosystemResponse, type IAIEcosystemProvider, } from "./core/ai-ecosystem/index.js";
|