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,185 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Unified Machine-Readable Schema Architecture
|
|
3
|
+
*
|
|
4
|
+
* Provides a standardized, extensible JSON Schema-compatible contract and validation engine
|
|
5
|
+
* allowing AI agents, MCP tools, and developer tools to inspect, configure, validate,
|
|
6
|
+
* and compose every AF Motion capability.
|
|
7
|
+
*/
|
|
8
|
+
export declare const SCHEMA_SPEC_VERSION = "1.0.0";
|
|
9
|
+
export type SchemaPropertyType = "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
10
|
+
export type SchemaCapabilityCategory = "animation" | "core-animation" | "visual-effect" | "text-effect" | "background" | "pointer" | "scroll" | "svg" | "gesture" | "composition" | "react" | "preset" | "recipe" | "motion-dna" | "design-system" | "palette" | "choreography" | "visual-style" | "shader" | "graphics" | "3d" | "ai-motion-spec" | "ai-react-component" | "studio-config" | (string & {});
|
|
11
|
+
export interface SchemaPropertyDescriptor {
|
|
12
|
+
readonly type: SchemaPropertyType | readonly SchemaPropertyType[];
|
|
13
|
+
readonly description?: string;
|
|
14
|
+
readonly default?: unknown;
|
|
15
|
+
readonly enum?: readonly (string | number | boolean)[];
|
|
16
|
+
readonly minimum?: number;
|
|
17
|
+
readonly maximum?: number;
|
|
18
|
+
readonly minLength?: number;
|
|
19
|
+
readonly maxLength?: number;
|
|
20
|
+
readonly pattern?: string;
|
|
21
|
+
readonly items?: SchemaPropertyDescriptor | {
|
|
22
|
+
readonly type: string;
|
|
23
|
+
};
|
|
24
|
+
readonly properties?: Readonly<Record<string, SchemaPropertyDescriptor>>;
|
|
25
|
+
readonly required?: readonly string[];
|
|
26
|
+
readonly additionalProperties?: boolean;
|
|
27
|
+
readonly dependsOn?: string;
|
|
28
|
+
readonly placeholder?: string;
|
|
29
|
+
readonly example?: unknown;
|
|
30
|
+
}
|
|
31
|
+
export interface CompatibilityMetadata {
|
|
32
|
+
readonly browser: boolean;
|
|
33
|
+
readonly ssr: boolean;
|
|
34
|
+
readonly requiresCanvas?: boolean;
|
|
35
|
+
readonly requiresDom?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface CapabilityAccessibilityMetadata {
|
|
38
|
+
readonly considerations?: readonly string[];
|
|
39
|
+
readonly ariaAttributes?: readonly string[];
|
|
40
|
+
readonly keyboardSupport?: boolean;
|
|
41
|
+
readonly screenReaderSafe?: boolean;
|
|
42
|
+
}
|
|
43
|
+
export interface CapabilityDependencies {
|
|
44
|
+
readonly required?: readonly string[];
|
|
45
|
+
readonly optional?: readonly string[];
|
|
46
|
+
}
|
|
47
|
+
export interface CapabilityExample {
|
|
48
|
+
readonly title: string;
|
|
49
|
+
readonly description?: string;
|
|
50
|
+
readonly code: string;
|
|
51
|
+
readonly configuration?: Record<string, unknown>;
|
|
52
|
+
}
|
|
53
|
+
export type ReducedMotionBehavior = "skips-to-endpoint" | "disables-animation" | "static-fallback" | "respects-profile" | "not-applicable";
|
|
54
|
+
export interface UnifiedMotionSchema {
|
|
55
|
+
readonly $schema?: string;
|
|
56
|
+
readonly $id: string;
|
|
57
|
+
readonly id?: string;
|
|
58
|
+
readonly schemaVersion: string;
|
|
59
|
+
readonly capabilityId: string;
|
|
60
|
+
readonly name: string;
|
|
61
|
+
readonly category: SchemaCapabilityCategory;
|
|
62
|
+
readonly description: string;
|
|
63
|
+
readonly type: "object";
|
|
64
|
+
readonly properties: Readonly<Record<string, SchemaPropertyDescriptor>>;
|
|
65
|
+
readonly required?: readonly string[];
|
|
66
|
+
readonly additionalProperties?: boolean;
|
|
67
|
+
readonly defaultConfiguration?: Readonly<Record<string, unknown>>;
|
|
68
|
+
readonly compatibility?: CompatibilityMetadata;
|
|
69
|
+
readonly accessibility?: CapabilityAccessibilityMetadata;
|
|
70
|
+
readonly reducedMotion?: ReducedMotionBehavior;
|
|
71
|
+
readonly dependencies?: CapabilityDependencies;
|
|
72
|
+
readonly examples?: readonly CapabilityExample[];
|
|
73
|
+
readonly tags?: readonly string[];
|
|
74
|
+
readonly parameters?: readonly unknown[];
|
|
75
|
+
readonly schema?: {
|
|
76
|
+
readonly type: "object";
|
|
77
|
+
readonly properties: Readonly<Record<string, unknown>>;
|
|
78
|
+
readonly required?: readonly string[];
|
|
79
|
+
readonly additionalProperties?: boolean;
|
|
80
|
+
};
|
|
81
|
+
readonly metadata?: Readonly<Record<string, unknown>>;
|
|
82
|
+
}
|
|
83
|
+
export type ValidationRule = "required" | "type" | "range" | "enum" | "unknown" | "pattern" | "structure" | "length";
|
|
84
|
+
export interface ConfigurationValidationError {
|
|
85
|
+
readonly path: string;
|
|
86
|
+
readonly property?: string;
|
|
87
|
+
readonly parameter?: string;
|
|
88
|
+
readonly message: string;
|
|
89
|
+
readonly received?: unknown;
|
|
90
|
+
readonly expected?: string;
|
|
91
|
+
readonly rule: ValidationRule;
|
|
92
|
+
}
|
|
93
|
+
export interface ConfigurationValidationOptions {
|
|
94
|
+
readonly allowUnknown?: boolean;
|
|
95
|
+
readonly coerceTypes?: boolean;
|
|
96
|
+
readonly strictRequired?: boolean;
|
|
97
|
+
}
|
|
98
|
+
export interface ConfigurationValidationResult {
|
|
99
|
+
readonly valid: boolean;
|
|
100
|
+
readonly errors: readonly ConfigurationValidationError[];
|
|
101
|
+
readonly resolvedConfiguration?: Readonly<Record<string, unknown>>;
|
|
102
|
+
}
|
|
103
|
+
export interface SchemaValidationError {
|
|
104
|
+
readonly field: string;
|
|
105
|
+
readonly message: string;
|
|
106
|
+
}
|
|
107
|
+
export interface SchemaValidationResult {
|
|
108
|
+
readonly valid: boolean;
|
|
109
|
+
readonly errors: readonly SchemaValidationError[];
|
|
110
|
+
}
|
|
111
|
+
export interface SchemasDocument {
|
|
112
|
+
readonly $schema: string;
|
|
113
|
+
readonly version: string;
|
|
114
|
+
readonly totalSchemas: number;
|
|
115
|
+
readonly schemas: readonly UnifiedMotionSchema[];
|
|
116
|
+
}
|
|
117
|
+
export interface SchemaFilterOptions {
|
|
118
|
+
readonly category?: string;
|
|
119
|
+
readonly tag?: string;
|
|
120
|
+
readonly version?: string;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Builds a canonical schema URI for a capability.
|
|
124
|
+
*/
|
|
125
|
+
export declare function createSchemaId(capabilityId: string): string;
|
|
126
|
+
/**
|
|
127
|
+
* Validates a schema document structure before registration or distribution.
|
|
128
|
+
*/
|
|
129
|
+
export declare function validateSchema(schema: unknown): SchemaValidationResult;
|
|
130
|
+
/**
|
|
131
|
+
* Validates a runtime configuration object against a UnifiedMotionSchema.
|
|
132
|
+
* Recursively inspects nested objects, array items, required fields, ranges, and enums.
|
|
133
|
+
*/
|
|
134
|
+
export declare function validateConfiguration(schema: UnifiedMotionSchema | {
|
|
135
|
+
readonly type: "object";
|
|
136
|
+
readonly properties: Record<string, unknown>;
|
|
137
|
+
readonly required?: readonly string[];
|
|
138
|
+
readonly additionalProperties?: boolean;
|
|
139
|
+
}, configuration: unknown, options?: ConfigurationValidationOptions): ConfigurationValidationResult;
|
|
140
|
+
/**
|
|
141
|
+
* Pure function that resolves default values from a schema and merges them with user configurations.
|
|
142
|
+
* Recursively applies defaults to nested objects.
|
|
143
|
+
*/
|
|
144
|
+
export declare function resolveConfigurationDefaults<T = Record<string, unknown>>(schema: UnifiedMotionSchema | {
|
|
145
|
+
readonly properties?: Record<string, unknown>;
|
|
146
|
+
readonly defaultConfiguration?: Record<string, unknown>;
|
|
147
|
+
}, configuration?: Record<string, unknown>): T;
|
|
148
|
+
/**
|
|
149
|
+
* Creates a complete UnifiedMotionSchema for a capability, deriving schema properties from parameter descriptors if necessary.
|
|
150
|
+
*/
|
|
151
|
+
export declare function createUnifiedSchema(capability: {
|
|
152
|
+
readonly id: string;
|
|
153
|
+
readonly name: string;
|
|
154
|
+
readonly category: string;
|
|
155
|
+
readonly description: string;
|
|
156
|
+
readonly version?: string;
|
|
157
|
+
readonly schema?: {
|
|
158
|
+
readonly type: "object";
|
|
159
|
+
readonly properties: Record<string, unknown>;
|
|
160
|
+
readonly required?: readonly string[];
|
|
161
|
+
readonly additionalProperties?: boolean;
|
|
162
|
+
};
|
|
163
|
+
readonly parameters?: readonly {
|
|
164
|
+
readonly name: string;
|
|
165
|
+
readonly kind?: string;
|
|
166
|
+
readonly type: string;
|
|
167
|
+
readonly required?: boolean;
|
|
168
|
+
readonly default?: unknown;
|
|
169
|
+
readonly description?: string;
|
|
170
|
+
readonly range?: {
|
|
171
|
+
readonly min?: number;
|
|
172
|
+
readonly max?: number;
|
|
173
|
+
};
|
|
174
|
+
readonly enum?: readonly (string | number)[];
|
|
175
|
+
readonly itemType?: string;
|
|
176
|
+
}[];
|
|
177
|
+
readonly defaultConfiguration?: Readonly<Record<string, unknown>>;
|
|
178
|
+
readonly compatibility?: CompatibilityMetadata;
|
|
179
|
+
readonly accessibility?: CapabilityAccessibilityMetadata;
|
|
180
|
+
readonly reducedMotion?: ReducedMotionBehavior;
|
|
181
|
+
readonly dependencies?: CapabilityDependencies;
|
|
182
|
+
readonly examples?: readonly CapabilityExample[];
|
|
183
|
+
readonly tags?: readonly string[];
|
|
184
|
+
readonly metadata?: Readonly<Record<string, unknown>>;
|
|
185
|
+
}): UnifiedMotionSchema;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Intelligent Scroll Plan Generator
|
|
3
|
+
*
|
|
4
|
+
* Deterministic generation of scroll-driven animation specifications, offsets,
|
|
5
|
+
* easing curves, parallax layers, 3D timelines, and accessibility fallbacks.
|
|
6
|
+
*/
|
|
7
|
+
import type { ScrollIntelligenceContext, ScrollIntelligenceResult } from "./types.js";
|
|
8
|
+
/**
|
|
9
|
+
* Generates an intelligent, deterministic scroll animation plan.
|
|
10
|
+
*/
|
|
11
|
+
export declare function generateScrollPlan(context: ScrollIntelligenceContext): ScrollIntelligenceResult;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Scroll Intelligence Module
|
|
3
|
+
*
|
|
4
|
+
* Intelligent scroll animation plan generation, intent classification,
|
|
5
|
+
* runtime progress evaluation, parallax, 2D-to-3D synchronization, and AI discovery.
|
|
6
|
+
*/
|
|
7
|
+
export * from "./types.js";
|
|
8
|
+
export * from "./intent.js";
|
|
9
|
+
export * from "./generator.js";
|
|
10
|
+
export * from "./runtime.js";
|
|
11
|
+
export * from "./schema.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Scroll Intent Classifier
|
|
3
|
+
*
|
|
4
|
+
* Deterministic natural-language and context parser mapping user descriptions,
|
|
5
|
+
* component contexts, and page structure to AF Motion's 8 core scroll animation types.
|
|
6
|
+
*/
|
|
7
|
+
import type { ClassifiedScrollIntent, ScrollIntelligenceContext } from "./types.js";
|
|
8
|
+
/**
|
|
9
|
+
* Classifies scroll animation intent from a prompt or context.
|
|
10
|
+
*/
|
|
11
|
+
export declare function classifyScrollIntent(input: string | Partial<ScrollIntelligenceContext>): ClassifiedScrollIntent;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Scroll Intelligence Runtime Engine
|
|
3
|
+
*
|
|
4
|
+
* High-performance, framework-independent scroll engine with passive event
|
|
5
|
+
* listening, single-RAF batching, layout-cached metrics, and 2D-to-3D synchronization.
|
|
6
|
+
*/
|
|
7
|
+
import type { ScrollPlan, ScrollRuntimeCallbacks, ScrollRuntimeControls } from "./types.js";
|
|
8
|
+
import type { ScrollSceneController } from "../../3d/scroll/controller.js";
|
|
9
|
+
export declare class ScrollIntelligenceRuntime {
|
|
10
|
+
/**
|
|
11
|
+
* Binds a scroll plan to a target DOM element.
|
|
12
|
+
*/
|
|
13
|
+
register(plan: ScrollPlan, target: HTMLElement, callbacks?: ScrollRuntimeCallbacks, options?: {
|
|
14
|
+
sync3DController?: ScrollSceneController;
|
|
15
|
+
}): ScrollRuntimeControls;
|
|
16
|
+
/**
|
|
17
|
+
* Interpolates and applies CSS properties onto the target element style.
|
|
18
|
+
*/
|
|
19
|
+
private applyProperties;
|
|
20
|
+
}
|
|
21
|
+
export declare const scrollIntelligenceRuntime: ScrollIntelligenceRuntime;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Scroll Intelligence Schema & AI Motion Registry Integration
|
|
3
|
+
*
|
|
4
|
+
* Machine-readable capability definitions and discovery helpers for
|
|
5
|
+
* intelligent scroll-driven animation generation and runtime control.
|
|
6
|
+
*/
|
|
7
|
+
import { type ScrollAnimationType, type ScrollProgressMode } from "./types.js";
|
|
8
|
+
export declare const SCROLL_INTELLIGENCE_CAPABILITY: {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
category: "scroll";
|
|
12
|
+
description: string;
|
|
13
|
+
tags: string[];
|
|
14
|
+
version: string;
|
|
15
|
+
features: string[];
|
|
16
|
+
supportedTypes: readonly ScrollAnimationType[];
|
|
17
|
+
supportedProgressModes: readonly ScrollProgressMode[];
|
|
18
|
+
parameters: {
|
|
19
|
+
name: string;
|
|
20
|
+
kind: "positional";
|
|
21
|
+
type: string;
|
|
22
|
+
required: boolean;
|
|
23
|
+
description: string;
|
|
24
|
+
}[];
|
|
25
|
+
supportedTargets: string[];
|
|
26
|
+
signature: {
|
|
27
|
+
importStatement: string;
|
|
28
|
+
invocation: string;
|
|
29
|
+
exampleCode: string;
|
|
30
|
+
};
|
|
31
|
+
controls: string[];
|
|
32
|
+
callbacks: string[];
|
|
33
|
+
reducedMotion: "static-fallback";
|
|
34
|
+
compatibility: {
|
|
35
|
+
browser: boolean;
|
|
36
|
+
ssr: boolean;
|
|
37
|
+
requiresCanvas: boolean;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export declare function getScrollIntelligenceCapability(): {
|
|
41
|
+
id: string;
|
|
42
|
+
name: string;
|
|
43
|
+
category: "scroll";
|
|
44
|
+
description: string;
|
|
45
|
+
tags: string[];
|
|
46
|
+
version: string;
|
|
47
|
+
features: string[];
|
|
48
|
+
supportedTypes: readonly ScrollAnimationType[];
|
|
49
|
+
supportedProgressModes: readonly ScrollProgressMode[];
|
|
50
|
+
parameters: {
|
|
51
|
+
name: string;
|
|
52
|
+
kind: "positional";
|
|
53
|
+
type: string;
|
|
54
|
+
required: boolean;
|
|
55
|
+
description: string;
|
|
56
|
+
}[];
|
|
57
|
+
supportedTargets: string[];
|
|
58
|
+
signature: {
|
|
59
|
+
importStatement: string;
|
|
60
|
+
invocation: string;
|
|
61
|
+
exampleCode: string;
|
|
62
|
+
};
|
|
63
|
+
controls: string[];
|
|
64
|
+
callbacks: string[];
|
|
65
|
+
reducedMotion: "static-fallback";
|
|
66
|
+
compatibility: {
|
|
67
|
+
browser: boolean;
|
|
68
|
+
ssr: boolean;
|
|
69
|
+
requiresCanvas: boolean;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export declare function getAvailableScrollAnimationTypes(): readonly ScrollAnimationType[];
|
|
73
|
+
export declare function getAvailableScrollProgressModes(): readonly ScrollProgressMode[];
|
|
74
|
+
export declare function listSupportedScrollAnimationTypes(): readonly ScrollAnimationType[];
|
|
75
|
+
export declare function listSupportedScrollProgressModes(): readonly ScrollProgressMode[];
|
|
76
|
+
export declare function registerScrollIntelligenceCapability(registry: {
|
|
77
|
+
registerCapability: (cap: any, opts?: any) => void;
|
|
78
|
+
}): void;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Scroll Intelligence Contracts
|
|
3
|
+
*
|
|
4
|
+
* Framework-independent contracts for intelligent scroll animation generation,
|
|
5
|
+
* scroll intent classification, progress calculation modes, parallax, and 2D-to-3D synchronization.
|
|
6
|
+
*/
|
|
7
|
+
import type { AnimatableProperties } from "../animate.js";
|
|
8
|
+
import type { ComponentCategory } from "../animation-intelligence/types.js";
|
|
9
|
+
import type { ScrollSceneController } from "../../3d/scroll/controller.js";
|
|
10
|
+
export declare const SCROLL_INTELLIGENCE_VERSION = "1.0.0";
|
|
11
|
+
export type ScrollAnimationType = "reveal" | "parallax" | "sticky-story" | "progress-indicator" | "stagger-sequence" | "horizontal-section" | "scroll-typography" | "scroll-3d-sync";
|
|
12
|
+
export declare const SCROLL_ANIMATION_TYPES: readonly ScrollAnimationType[];
|
|
13
|
+
export type ScrollProgressMode = "viewport" | "element" | "container";
|
|
14
|
+
export declare const SCROLL_PROGRESS_MODES: readonly ScrollProgressMode[];
|
|
15
|
+
export type ScrollDirection = "down" | "up" | "both";
|
|
16
|
+
export interface ScrollTriggerOffset {
|
|
17
|
+
readonly start?: string | number;
|
|
18
|
+
readonly end?: string | number;
|
|
19
|
+
}
|
|
20
|
+
export interface ScrollPlan {
|
|
21
|
+
readonly id: string;
|
|
22
|
+
readonly name: string;
|
|
23
|
+
readonly type: ScrollAnimationType;
|
|
24
|
+
readonly progressMode: ScrollProgressMode;
|
|
25
|
+
readonly startOffset: string | number;
|
|
26
|
+
readonly endOffset: string | number;
|
|
27
|
+
readonly properties: Readonly<AnimatableProperties>;
|
|
28
|
+
readonly easing?: string;
|
|
29
|
+
readonly reversible: boolean;
|
|
30
|
+
readonly clamp: boolean;
|
|
31
|
+
readonly stagger?: number;
|
|
32
|
+
readonly sync3DTimelineId?: string;
|
|
33
|
+
readonly compatibilityScore: number;
|
|
34
|
+
readonly explanation: string;
|
|
35
|
+
readonly respectReducedMotion: boolean;
|
|
36
|
+
readonly reducedMotionProperties?: Readonly<AnimatableProperties>;
|
|
37
|
+
}
|
|
38
|
+
export interface ScrollIntelligenceContext {
|
|
39
|
+
readonly intent?: string;
|
|
40
|
+
readonly type?: ScrollAnimationType;
|
|
41
|
+
readonly componentType?: ComponentCategory;
|
|
42
|
+
readonly visualStyle?: string;
|
|
43
|
+
readonly motionDNA?: string;
|
|
44
|
+
readonly container?: HTMLElement | Window;
|
|
45
|
+
readonly direction?: ScrollDirection;
|
|
46
|
+
readonly reversible?: boolean;
|
|
47
|
+
readonly progressMode?: ScrollProgressMode;
|
|
48
|
+
readonly startOffset?: string | number;
|
|
49
|
+
readonly endOffset?: string | number;
|
|
50
|
+
readonly stagger?: number;
|
|
51
|
+
readonly deviceTier?: "low" | "medium" | "high";
|
|
52
|
+
readonly reducedMotion?: boolean;
|
|
53
|
+
readonly sync3DController?: ScrollSceneController;
|
|
54
|
+
}
|
|
55
|
+
export interface ScrollIntelligenceResult {
|
|
56
|
+
readonly plan: ScrollPlan;
|
|
57
|
+
readonly alternatives: readonly ScrollPlan[];
|
|
58
|
+
readonly compatibilityScore: number;
|
|
59
|
+
readonly warnings: readonly string[];
|
|
60
|
+
readonly explanation: string;
|
|
61
|
+
readonly context: ScrollIntelligenceContext;
|
|
62
|
+
}
|
|
63
|
+
export interface ClassifiedScrollIntent {
|
|
64
|
+
readonly type: ScrollAnimationType;
|
|
65
|
+
readonly confidence: number;
|
|
66
|
+
readonly matchedKeywords: readonly string[];
|
|
67
|
+
}
|
|
68
|
+
export interface ScrollRuntimeProgressState {
|
|
69
|
+
readonly progress: number;
|
|
70
|
+
readonly rawProgress: number;
|
|
71
|
+
readonly direction: "down" | "up";
|
|
72
|
+
readonly velocity: number;
|
|
73
|
+
readonly inView: boolean;
|
|
74
|
+
}
|
|
75
|
+
export interface ScrollRuntimeControls {
|
|
76
|
+
readonly destroy: () => void;
|
|
77
|
+
readonly getState: () => ScrollRuntimeProgressState;
|
|
78
|
+
readonly pause: () => void;
|
|
79
|
+
readonly resume: () => void;
|
|
80
|
+
}
|
|
81
|
+
export interface ScrollRuntimeCallbacks {
|
|
82
|
+
readonly onProgress?: (state: ScrollRuntimeProgressState) => void;
|
|
83
|
+
readonly onEnter?: () => void;
|
|
84
|
+
readonly onLeave?: () => void;
|
|
85
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface SpringConfig {
|
|
2
|
+
/** Spring stiffness. Must be finite and greater than zero. Defaults to 170. */
|
|
3
|
+
stiffness?: number;
|
|
4
|
+
/** Friction coefficient. Must be finite and non-negative. Defaults to 26. */
|
|
5
|
+
damping?: number;
|
|
6
|
+
/** Mass. Must be finite and greater than zero. Defaults to 1. */
|
|
7
|
+
mass?: number;
|
|
8
|
+
/** Initial velocity in position units per second. Defaults to 0. */
|
|
9
|
+
initialVelocity?: number;
|
|
10
|
+
/** Position error at which the spring may settle. Defaults to 0.01. */
|
|
11
|
+
restDelta?: number;
|
|
12
|
+
/** Absolute velocity below which the spring may settle. Defaults to 0.01. */
|
|
13
|
+
restSpeed?: number;
|
|
14
|
+
}
|
|
15
|
+
export interface SpringUpdate {
|
|
16
|
+
position: number;
|
|
17
|
+
velocity: number;
|
|
18
|
+
}
|
|
19
|
+
export interface SpringOptions {
|
|
20
|
+
/** Starting position. Defaults to 0. */
|
|
21
|
+
from?: number;
|
|
22
|
+
/** Target position. Defaults to 1. */
|
|
23
|
+
to?: number;
|
|
24
|
+
/** Spring constants and settling thresholds. */
|
|
25
|
+
config?: SpringConfig;
|
|
26
|
+
/** Called on each shared animation frame with position and velocity. */
|
|
27
|
+
onUpdate: (state: SpringUpdate) => void;
|
|
28
|
+
/** Called once when the spring settles or reduced motion completes it. */
|
|
29
|
+
onComplete?: () => void;
|
|
30
|
+
/** Defaults to true. */
|
|
31
|
+
respectReducedMotion?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface SpringControls {
|
|
34
|
+
/** Stops the spring and suppresses subsequent update and completion callbacks. */
|
|
35
|
+
cancel(): void;
|
|
36
|
+
}
|
|
37
|
+
/** Animates a scalar spring using the library's shared animation-frame scheduler. */
|
|
38
|
+
export declare function animateSpring(options: SpringOptions): SpringControls;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion SVG Morph Animation Orchestrator
|
|
3
|
+
*
|
|
4
|
+
* Drives SVG path morphing using the core animation engine and frame scheduler.
|
|
5
|
+
*/
|
|
6
|
+
import type { MorphAnimationControls, MorphAnimationOptions } from "./types.js";
|
|
7
|
+
/**
|
|
8
|
+
* Morphs an SVG path element or shape to a new path geometry or SVG shape.
|
|
9
|
+
*/
|
|
10
|
+
export declare function morphPath(target: SVGElement | string, to: string | SVGElement, options?: MorphAnimationOptions): MorphAnimationControls;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Elliptical Arc to Cubic Bézier Converter
|
|
3
|
+
*
|
|
4
|
+
* Implements the W3C SVG Arc Endpoint-to-Center Parameterization (Annex F.6)
|
|
5
|
+
* and approximates arbitrary elliptical arcs using smooth cubic Bézier segments.
|
|
6
|
+
*/
|
|
7
|
+
import type { CubicSegment } from "./types.js";
|
|
8
|
+
/**
|
|
9
|
+
* Converts an SVG elliptical arc into an array of equivalent Cubic Bézier segments.
|
|
10
|
+
*/
|
|
11
|
+
export declare function arcToCubic(x1: number, y1: number, rx: number, ry: number, angleDeg: number, largeArcFlag: number, sweepFlag: number, x2: number, y2: number): CubicSegment[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion SVG Morphing Subsystem
|
|
3
|
+
*/
|
|
4
|
+
export * from "./types.js";
|
|
5
|
+
export * from "./parser.js";
|
|
6
|
+
export * from "./arc-to-cubic.js";
|
|
7
|
+
export * from "./shapes.js";
|
|
8
|
+
export * from "./normalize.js";
|
|
9
|
+
export * from "./interpolate.js";
|
|
10
|
+
export * from "./animator.js";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion SVG Morph Interpolation Engine
|
|
3
|
+
*
|
|
4
|
+
* Deterministic, high-performance coordinate interpolation between aligned paths
|
|
5
|
+
* with precision formatting and minimal allocation overhead.
|
|
6
|
+
*/
|
|
7
|
+
import type { Morph, MorphOptions, NormalizedPath } from "./types.js";
|
|
8
|
+
/**
|
|
9
|
+
* Creates and compiles a Morph structure between two SVG paths or elements.
|
|
10
|
+
*/
|
|
11
|
+
export declare function createMorph(from: string | SVGElement, to: string | SVGElement, options?: MorphOptions): Morph;
|
|
12
|
+
/**
|
|
13
|
+
* Formats a single NormalizedPath into an SVG path `d` string.
|
|
14
|
+
*/
|
|
15
|
+
export declare function formatNormalizedPath(path: NormalizedPath, precision?: number): string;
|
|
16
|
+
/**
|
|
17
|
+
* Interpolates between two aligned paths at parameter progress (0 to 1).
|
|
18
|
+
*/
|
|
19
|
+
export declare function interpolateMorph(morph: Morph, progress: number): string;
|
|
20
|
+
/**
|
|
21
|
+
* Clears the compiled morph cache.
|
|
22
|
+
*/
|
|
23
|
+
export declare function clearMorphCache(): void;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion SVG Path Normalization Engine
|
|
3
|
+
*
|
|
4
|
+
* Converts arbitrary SVG path commands into canonical Cubic Bézier segments,
|
|
5
|
+
* performs de Casteljau curve subdivision for segment-count alignment,
|
|
6
|
+
* aligns subpaths, and optimizes starting points on closed loops.
|
|
7
|
+
*/
|
|
8
|
+
import type { CanonicalSubpath, CubicSegment, NormalizedPath, NormalizeOptions, SVGPointTuple, SVGPathCommand } from "./types.js";
|
|
9
|
+
type Point2D = SVGPointTuple;
|
|
10
|
+
/**
|
|
11
|
+
* Splits a single cubic Bézier curve at parameter t = 0.5 using de Casteljau's algorithm.
|
|
12
|
+
*/
|
|
13
|
+
export declare function splitCubicAtHalf(start: Point2D, cubic: CubicSegment): [CubicSegment, CubicSegment];
|
|
14
|
+
/**
|
|
15
|
+
* Converts raw parsed commands into canonical subpaths of M, C, and Z segments.
|
|
16
|
+
*/
|
|
17
|
+
export declare function toCanonicalSubpaths(commands: readonly SVGPathCommand[]): CanonicalSubpath[];
|
|
18
|
+
/**
|
|
19
|
+
* Subdivides a subpath's cubic segments until it contains exactly targetCount cubics.
|
|
20
|
+
*/
|
|
21
|
+
export declare function subdivideSubpath(subpath: CanonicalSubpath, targetCount: number): CanonicalSubpath;
|
|
22
|
+
/**
|
|
23
|
+
* Cyclically rotates a closed subpath's segments to minimize distance to a reference subpath.
|
|
24
|
+
*/
|
|
25
|
+
export declare function alignClosedSubpathStart(target: CanonicalSubpath, reference: CanonicalSubpath): CanonicalSubpath;
|
|
26
|
+
/**
|
|
27
|
+
* Fully normalizes and aligns two paths so they share identical subpath and segment structure.
|
|
28
|
+
*/
|
|
29
|
+
export declare function alignPaths(pathA: NormalizedPath, pathB: NormalizedPath, options?: NormalizeOptions): [NormalizedPath, NormalizedPath];
|
|
30
|
+
/**
|
|
31
|
+
* Converts a raw SVG path string or SVG element into a NormalizedPath.
|
|
32
|
+
*/
|
|
33
|
+
export declare function normalizeSVGPath(input: string | SVGElement, options?: NormalizeOptions): NormalizedPath;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Robust SVG Path Parser
|
|
3
|
+
*
|
|
4
|
+
* Implements strict compliance with the W3C SVG path specification:
|
|
5
|
+
* supports absolute/relative commands, repeated parameter sequences,
|
|
6
|
+
* negative numbers without whitespace, scientific notation, and multiple subpaths.
|
|
7
|
+
*/
|
|
8
|
+
import type { SVGPathCommand } from "./types.js";
|
|
9
|
+
/**
|
|
10
|
+
* Parses raw SVG path data into an array of discrete SVG commands and numeric parameters.
|
|
11
|
+
* Throws TypeError on malformed or unsupported path data.
|
|
12
|
+
*/
|
|
13
|
+
export declare function parseSVGPath(d: string): SVGPathCommand[];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion SVG Shape to Path Converter
|
|
3
|
+
*
|
|
4
|
+
* Converts SVG primitives (circle, rect, ellipse, polygon, polyline, line)
|
|
5
|
+
* into mathematically equivalent SVG path data strings for seamless morphing.
|
|
6
|
+
*/
|
|
7
|
+
import type { SVGCircleProps, SVGEllipseProps, SVGPolygonProps, SVGPolylineProps, SVGRectProps } from "./types.js";
|
|
8
|
+
/**
|
|
9
|
+
* Converts a circle into a closed path with 4 cubic Bézier curves.
|
|
10
|
+
*/
|
|
11
|
+
export declare function circleToPath(circle: SVGCircleProps): string;
|
|
12
|
+
/**
|
|
13
|
+
* Converts an ellipse into a closed path with 4 cubic Bézier curves.
|
|
14
|
+
*/
|
|
15
|
+
export declare function ellipseToPath(ellipse: SVGEllipseProps): string;
|
|
16
|
+
/**
|
|
17
|
+
* Converts a rectangle (with optional rounded corners) into a closed path.
|
|
18
|
+
*/
|
|
19
|
+
export declare function rectToPath(rect: SVGRectProps): string;
|
|
20
|
+
/**
|
|
21
|
+
* Converts a polygon into a closed SVG path.
|
|
22
|
+
*/
|
|
23
|
+
export declare function polygonToPath(polygon: SVGPolygonProps): string;
|
|
24
|
+
/**
|
|
25
|
+
* Converts a polyline into an open SVG path.
|
|
26
|
+
*/
|
|
27
|
+
export declare function polylineToPath(polyline: SVGPolylineProps): string;
|
|
28
|
+
/**
|
|
29
|
+
* Converts any DOM SVG element (path, circle, rect, ellipse, polygon, polyline, line)
|
|
30
|
+
* into a canonical path data string.
|
|
31
|
+
*/
|
|
32
|
+
export declare function svgElementToPath(element: SVGElement): string;
|