import { PlaybackState, PlaybackController, Time } from '../types'; interface UsePlaybackOptions { /** * Callback fired on each animation frame with current time */ onTick?: (time: Time) => void; /** * Initial playback state */ initialState?: PlaybackState; /** * Initial time position */ initialTime?: Time; /** * Continue playback timing in background tabs */ allowBackgroundPlayback?: boolean; } interface UsePlaybackReturn extends PlaybackController { /** * Current playback time */ currentTime: Time; /** * Current playback state */ state: PlaybackState; } /** * Hook for managing playback state and time */ export declare function usePlayback(options?: UsePlaybackOptions): UsePlaybackReturn; export {}; //# sourceMappingURL=usePlayback.d.ts.map