import { Playlist } from '../../core/playlist'; import type { TimelineClock } from '../../core/timeline'; import type { ParsedPlaylist, PlaylistOptions } from '../../core/types'; /** * Creates and manages a Playlist and syncs duration to a clock. * * Resolves the clock from an explicit argument or from ``. * The clock's duration is auto-extended from `playlist.totalDuration` on init * and whenever a live playlist discovers new segments. */ export declare function usePlaylist(options: PlaylistOptions, clock?: TimelineClock | null): { engine: Playlist | null; playlist: ParsedPlaylist | null; loading: boolean; error: Error | null; }; //# sourceMappingURL=use-playlist.d.ts.map