import { ElementRef, EventEmitter, OnInit, OnDestroy } from '@angular/core'; import { Subscription } from 'rxjs'; import { VgControlsHiddenService, VgApiService } from '@49ing/ngx-videogular/core'; import * as i0 from "@angular/core"; export declare class VgScrubBarComponent implements OnInit, OnDestroy { API: VgApiService; hideScrubBar: boolean; disabled: boolean; vgFor: string; vgSlider: boolean; livePosition: number; elem: HTMLElement; target: any; isSeeking: boolean; wasPlaying: boolean; subscriptions: Subscription[]; /** * Seekable stream required for seeking */ switchChannel: EventEmitter; seeking: EventEmitter; constructor(ref: ElementRef, API: VgApiService, vgControlsHiddenState: VgControlsHiddenService); ngOnInit(): void; onPlayerReady(): void; protected seekStart(offset: number): void; protected seekMove(offset: number): void; protected captureSeekBackLiveDuration(): void; protected getTotalTime(): any; protected seekEnd(offset: number): void; protected getWidth(): number; protected seekTime(percentage: number): void; protected touchEnd(): void; protected getTouchOffset(event: any): number; onMouseDownScrubBar($event: any): void; onMouseMoveScrubBar($event: any): void; onMouseUpScrubBar($event: any): void; onTouchStartScrubBar($event: any): void; onTouchMoveScrubBar($event: any): void; onTouchCancelScrubBar(_$event: any): void; onTouchEndScrubBar(_$event: any): void; /** Original code have this function but there is no point to have something like this * inside vg-scrub-bar for us since we manipulate seek time. * Plus naming (arrowAdjustVolume) in library is completely wrong. * * @HostListener('keydown', ['$event']) * arrowAdjustVolume(event: KeyboardEvent) { * if (this.target) { * if (event.key === 'ArrowUp' || event.key === 'ArrowRight') { * event.preventDefault(); * this.target.seekTime((this.target.time.current + 5000) / 1000, false); * } else if (event.key === 'ArrowLeft' || event.key === 'ArrowDown') { * event.preventDefault(); * this.target.seekTime((this.target.time.current - 5000) / 1000, false); * } * } * } */ isLiveTime(): boolean; getPercentage(): string; onHideScrubBar(hide: boolean): void; private isWebRTC; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }