import { Marker, TimelineReadonly } from "@techsquidtv/canvas-timeline-core"; //#region src/hooks/markers/useActiveMarkers.d.ts /** Result returned by `useActiveMarkers`. */ interface UseActiveMarkersResult { /** Marker exactly at the playhead, or null when none is active. */ activeMarker: TimelineReadonly | null; /** Marker nearest to the playhead, or null when no markers exist. */ nearestMarker: TimelineReadonly | null; /** Next marker after the playhead, or null when none exists. */ nextMarker: TimelineReadonly | null; /** Previous marker before the playhead, or null when none exists. */ previousMarker: TimelineReadonly | null; } /** * Subscribes to live marker proximity derived from the current playhead. * * Use this focused live hook for readouts and marker navigation UI that should * update during playback or scrubbing. Use `useTimelineMarkers` for ordinary * marker lists and marker editing commands. * * @returns Active, nearest, previous, and next markers for the live playhead time. */ declare function useActiveMarkers(): UseActiveMarkersResult; //#endregion export { UseActiveMarkersResult, useActiveMarkers }; //# sourceMappingURL=useActiveMarkers.d.mts.map