import { Media } from '../models/media.model';
import * as i0 from "@angular/core";
export declare class PlayerService {
    private _plyr;
    constructor();
    private _checkForErrors;
    addComponentRef(plyrComponent: any): void;
    removeComponentRef(): void;
    play(): void;
    pause(): void;
    next(): void;
    prev(): void;
    enableMediaLooping(loop?: boolean): void;
    enablePlaylistLooping(loop?: boolean): void;
    changeVolume(level: number): void;
    seekTo(atSecond: number): void;
    setPlaybackSpeed(rate: number): void;
    getCurrentlyPlaying(): any;
    getNextMedia(): any;
    getNumOfMediaInPlaylist(): any;
    addToPlaylist(mediaItems: Media[], atStart?: boolean): void;
    playNext(media: Media[]): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<PlayerService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<PlayerService>;
}
