import { EngineEventMap, TimelineEngine } from "@techsquidtv/canvas-timeline-core"; //#region src/hooks/core/useTimelineExternalStore.d.ts type TimelineExternalStoreEvent = keyof EngineEventMap; type TimelineExternalStoreSnapshot = (engine: TimelineEngine) => T; /** * Subscribes to TimelineEngine events with stable React external-store callbacks. */ declare function useTimelineExternalStore(events: readonly TimelineExternalStoreEvent[], getSnapshotForEngine: TimelineExternalStoreSnapshot, isEqual?: (previous: T, next: T) => boolean): T; //#endregion export { useTimelineExternalStore }; //# sourceMappingURL=useTimelineExternalStore.d.mts.map