/**
 * THIS IS GENERATED CODE!
 * PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
 */
export declare const typescriptDeclarationFixConstant = 1;
import { UiEvent } from "./UiEvent";
import { TeamAppsEvent } from "../modules/util/TeamAppsEvent";
import { UiComponentConfig } from "./UiComponentConfig";
import { UiShakaManifestConfig } from "./UiShakaManifestConfig";
import { UiPosterImageSize } from "./UiPosterImageSize";
import { UiTrackLabelFormat } from "./UiTrackLabelFormat";
import { UiShakaPlayerControlPanelElementType } from "./UiShakaPlayerControlPanelElementType";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export interface UiShakaPlayerConfig extends UiComponentConfig {
    _type?: string;
    hlsUrl?: string;
    dashUrl?: string;
    posterImageUrl?: string;
    posterImageSize?: UiPosterImageSize;
    timeUpdateEventThrottleMillis?: number;
    backgroundColor?: string;
    autoplay?: boolean;
    trackLabelFormat?: UiTrackLabelFormat;
    videoDisabled?: boolean;
    timeMillis?: number;
    preferredAudioLanguage?: string;
    bigPlayButtonEnabled?: boolean;
    controlFadeDelaySeconds?: number;
    controlPanelElements?: UiShakaPlayerControlPanelElementType[];
}
export interface UiShakaPlayerCommandHandler extends UiComponentCommandHandler {
    setUrls(hlsUrl: string, dashUrl: string): any;
    play(): any;
    pause(): any;
    jumpTo(timeMillis: number): any;
    selectAudioLanguage(language: string, role: string): any;
}
export interface UiShakaPlayerEventSource {
    onErrorLoading: TeamAppsEvent<UiShakaPlayer_ErrorLoadingEvent>;
    onManifestLoaded: TeamAppsEvent<UiShakaPlayer_ManifestLoadedEvent>;
    onTimeUpdate: TeamAppsEvent<UiShakaPlayer_TimeUpdateEvent>;
    onEnded: TeamAppsEvent<UiShakaPlayer_EndedEvent>;
    onSkipClicked: TeamAppsEvent<UiShakaPlayer_SkipClickedEvent>;
}
export interface UiShakaPlayer_ErrorLoadingEvent extends UiEvent {
}
export interface UiShakaPlayer_ManifestLoadedEvent extends UiEvent {
    manifest: UiShakaManifestConfig;
}
export interface UiShakaPlayer_TimeUpdateEvent extends UiEvent {
    timeMillis: number;
}
export interface UiShakaPlayer_EndedEvent extends UiEvent {
}
export interface UiShakaPlayer_SkipClickedEvent extends UiEvent {
    forward: boolean;
    playbackTimeMillis: number;
}
