{"version":3,"file":"useTimelineEngine.mjs","names":[],"sources":["../../../src/hooks/core/useTimelineEngine.ts"],"sourcesContent":["import { TimelineContext } from '#react/context';\nimport { useContext } from 'react';\n/** Reads the stable engine without subscribing to timeline state. */\nexport function useTimelineEngine() {\n  const engine = useContext(TimelineContext);\n  if (!engine) {\n    throw new Error('Timeline hooks must be used within TimelineProvider');\n  }\n  return engine;\n}\n"],"mappings":";;;;AAGA,SAAgB,oBAAoB;CAClC,MAAM,SAAS,WAAW,eAAe;CACzC,IAAI,CAAC,QACH,MAAM,IAAI,MAAM,qDAAqD;CAEvE,OAAO;AACT"}