import * as i0 from "@angular/core";
export declare class CastService {
    private isInitialized;
    private castContext;
    private currentSession;
    player: any;
    playerController: any;
    constructor();
    isSdkAvailable(): boolean;
    initializeCastApi(): void;
    loadMedia(mediaURL?: string, contentType?: string): void;
    getCastContext(): any;
    isCasting(): boolean;
    endCurrentSession(stopCasting: boolean): void;
    private playOrPauseCasting;
    play(): void;
    pause(): void;
    stopCasting(): void;
    seekTo(toSec: number): void;
    private muteOrUnmute;
    mute(): void;
    unmute(): void;
    setVolumeLevel(volume: number): void;
    skipAd(): void;
    onCastEvent(eventName: string, cb: Function): Promise<unknown>;
    stopListeningRemotePlayerEvents(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<CastService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<CastService>;
}
