index.ts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. // Schema (Remotion's timeline-based spec format)
  2. export { schema, type RemotionSchema, type RemotionSpec } from "./schema";
  3. // Catalog-aware types for Remotion
  4. export type {
  5. FrameContext,
  6. VideoComponentContext,
  7. VideoComponentFn,
  8. VideoComponents,
  9. TransitionFn,
  10. BuiltInTransition,
  11. EffectFn,
  12. Effects,
  13. } from "./catalog-types";
  14. // Core types (re-exported for convenience)
  15. export type { Spec } from "@json-render/core";
  16. // =============================================================================
  17. // Components - Pre-built Remotion components for rendering timelines
  18. // =============================================================================
  19. // Component types
  20. export type {
  21. Clip,
  22. TimelineSpec,
  23. AudioTrack,
  24. TransitionStyles,
  25. MotionStyles,
  26. Motion,
  27. MotionState,
  28. MotionLoop,
  29. SpringConfig,
  30. ClipComponent,
  31. ComponentRegistry,
  32. } from "./components";
  33. // Hooks and utilities
  34. export { useTransition, useMotion, ClipWrapper } from "./components";
  35. // Standard components
  36. export {
  37. TitleCard,
  38. ImageSlide,
  39. SplitScreen,
  40. QuoteCard,
  41. StatCard,
  42. LowerThird,
  43. TextOverlay,
  44. TypingText,
  45. LogoBug,
  46. VideoClip,
  47. } from "./components";
  48. // Renderer and component registry
  49. export { Renderer, standardComponents } from "./components";
  50. // =============================================================================
  51. // Catalog Definitions - Pre-built definitions for use in catalogs
  52. // =============================================================================
  53. export {
  54. standardComponentDefinitions,
  55. standardTransitionDefinitions,
  56. standardEffectDefinitions,
  57. type ComponentDefinition,
  58. type TransitionDefinition,
  59. type EffectDefinition,
  60. } from "./catalog";