import type { Progress } from '../interfaces'; export interface UseProgressOptions { /** If true, subscribe to Event.PlaybackProgressUpdated (native-driven) when you set progressUpdateEventInterval in updateOptions. Reduces bridge round-trips vs polling. Default false. */ useNativeEvents?: boolean; } /** * Track progress (position, duration, buffered) for the current track. * @param updateInterval - Polling interval in ms when not using native events. Default 1000. * @param background - Update state when app is in background. Default true. Can affect performance. * @param options - useNativeEvents: true to prefer Event.PlaybackProgressUpdated (set progressUpdateEventInterval in updateOptions). Fewer bridge calls. */ export declare function useProgress(updateInterval?: number, background?: boolean, options?: UseProgressOptions): Progress;