import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core'; import { PlayerState, VideoState, YPlayerSaveInfo, YplayerService } from "./yplayer.service"; import * as i0 from "@angular/core"; declare global { interface Window { YT: any; onYouTubeIframeAPIReady: (() => void) | undefined; } } interface PlayerSize { width: number; height: number; } export declare class YplayerComponent implements OnInit, OnDestroy { private yplayerService; playerElementRef: ElementRef; onStateChange: EventEmitter; onBeforeDestroyPlayer: EventEmitter; playerSize: PlayerSize; responsive: boolean; autoSavePositionInterval: number | undefined; isPopup: boolean; onSavePosition: EventEmitter; private registeredSubscriptions; isPlayerReady: boolean; isLoading: boolean; private player; private videoState; private playerState; private timelineInterval; private isPlayerInitialized; isPopupActive: boolean; constructor(yplayerService: YplayerService); ngOnInit(): void; ngOnDestroy(): void; stop(): void; playPause(): void; play(state: VideoState): void; pause(): void; apiReady(): void; playerReady(): void; onPlayerStateChange(state: PlayerState): void; onStartPlaying(): void; onFinishPlaying(): void; closePopup(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};